How to block countries in SureForms?

SureForms homepage

Are you getting spam or suspicious submissions from certain countries through your SureForms? While SureForms doesn’t offer built-in geolocation blocking, you can still protect your forms by using smarter tools and external services.

This guide outlines two effective ways to block form submissions by country—using OOPSpam for advanced filtering, applying Cloudflare firewall rules for site-wide access control, and clarifying what SureForms actually offers and what it doesn’t.

Can You Block Countries in SureForms Directly?

Short answer: No.

Even in the Pro (Premium) version, SureForms does not offer country-based blocking or IP filtering. There is no setting to allow or deny submissions based on geolocation.

What SureForms Does Offer:

However, these are form enhancements — not security or anti-spam tools.

What It Does Not Offer:

To stop regional spam in SureForms, you’ll need an advanced tool like OOPSpam (that’s us 👋).

1. Block Countries in SureForms Using OOPSpam

OOPSpam Anti-Spam plugin

OOPSpam works alongside SureForms to offer intelligent, real-time spam filtering, including country-based blocking and much more.

Why Use OOPSpam?

How to Set Up OOPSpam with SureForms

OOPSpam dashboard

Start by installing the OOPSpam Anti-Spam plugin from the WordPress Plugin Directory. Once it’s activated, head to your WordPress dashboard and open the OOPSpam Anti-Spam settings.

Paste in your OOPSpam API key

Paste in your OOPSpam API key from your OOPSpam account

SureForms activate spam protection

Then, activate spam protection by toggling it on.

Country Filtering

Scroll down to the Country Filtering section. You can either block certain countries or allow only the ones you select. Choose the countries from the dropdown and save your changes.

That’s it! From now on, submissions to your SureForms will be filtered using your chosen country restrictions without affecting the rest of your website.

Review Blocked Submissions

One of the biggest advantages of using OOPSpam is transparency. You can see:

This visibility helps you strike a balance between protection and accessibility—especially if you run a global website but want to minimize spam from certain regions.

2. Block Countries from Accessing Your Entire Site with Cloudflare

If your issue isn’t limited to form spam, and you want to block all access to your site from certain countries—Cloudflare’s Web Application Firewall (WAF) is a solution. It stops users from ever reaching your site based on their country of origin.

⚠️ Note: This blocks the entire website, not just your SureForms submissions.

How to Set Up Country Blocking in Cloudflare

Cloudflare

Log into your Cloudflare dashboard and select the website you want to protect. 

Cloudflare dashboard

  1. Go to the Security tab and open the WAF (Web Application Firewall) section.
  2. Find the Rules list and click to create a new firewall rule. Give your rule a clear name—for example, “Block Specific Countries.”
  3. Next, set the condition. Choose Country as the field, is in as the operator, and then select the countries you want to block from the list.
  4. For the action, select Block. Once everything is set, save and deploy the rule.

Requests from those countries will now be denied before they ever reach your WordPress site—including your SureForms.

For a step-by-step guide on setting up country-level blocks with Cloudflare, check out our article: Blocking Countries from Accessing Your Website Using Cloudflare

When to Use This

This method is overkill for basic form spam and may block legitimate users—use Cloudflare only when broader restriction is absolutely necessary.

Which Method Should You Choose?

Method What It Blocks Logging Best For
SureForms
(native)
Not Available N/A N/A — does not offer country blocking
OOPSpam Plugin Form submissions only Yes Advanced spam protection, logs, flexible rules
Cloudflare WAF Entire website No Full country bans for security or compliance needs

Recommended Option:

Use OOPSpam for most cases. It provides country filtering, rate limiting, spam pattern detection, and submission logging without restricting general access to your site. It’s ideal for forms created with SureForms and other builders.

Final thoughts

While SureForms lacks native country blocking, you can still regain control over your forms by integrating with OOPSpam. It’s a reliable, more flexible approach than basic IP filtering and doesn’t compromise your website’s accessibility.

Start with form-level protection using SureForms and OOPSpam. Monitor the results. Then scale up to stricter solutions like Cloudflare if necessary.

Spam Protection for WordPress, Zapier, Make and more.

Since our launch in 2017 we’ve been perfecting our API to be the trusted option for small businesses to enterprise— and continue to stick to our values of being the accessibility and privacy-friendly option. Give us a shot!

Try OOPSpam for free → Try our WordPress plugin for free →

✓ No credit card required ✓ Cancel anytime

Enjoy Reading This Article?

Here are some more articles you might like to read next: