How to block countries in Formidable Forms?

Formidable Forms

Formidable Forms doesn’t offer a built-in way to block submissions by country, but you still have effective options to prevent unwanted entries.

This guide walks you through two ways to block countries:

We’ll also show how Formidable Locations Add-On can help build location-specific fields, but note, it won’t block submissions on its own.

1. Block Countries in Formidable Forms Using OOPSpam

OOPSpam Anti-Spam plugin

If you’re dealing with spammy entries from specific regions, the easiest and most effective solution is to integrate your Formidable forms with OOPSpam (that’s us 👋).

OOPSpam is a machine learning powered anti-spam plugin that adds advanced filtering, country-level controls, and detailed logging—all without affecting your site speed or user experience.

Does Formidable Have Built-In Country Blocking?

Formidable Locations add-on

No. Formidable Forms does not currently offer a native feature to block form submissions by country or IP address. That’s why using OOPSpam is the go-to solution if you want to restrict submissions from specific regions.

However, Formidable does have a Locations add-on that allows users to select a country, state, or city via dropdowns. This can guide users and create conditional logic, but doesn’t prevent submission from unwanted locations.

What OOPSpam Adds to Formidable Forms

When you pair Formidable with OOPSpam, you unlock:

How to Set It Up

Here’s how to connect OOPSpam to your Formidable Forms setup:

Step 1: Install the Plugin

From your WordPress dashboard, go to Plugins > Add New.  Search for OOPSpam Anti-Spam, install, and activate it.

Step 2: Add Your API Key

Create an account at OOPSpam.com and generate your API key.

OOPSpam dashboard showing API usage, response time, and API key, with options to test data and view logs, along with navigation menu on the left.

Back in WordPress, go to OOPSpam Anti-Spam > Settings and paste the key.

Paste the API key

Step 3: Enable Protection for Formidable

Scroll to the “Formidable Forms” section and toggle on the spam protection.

Enable Protection for Formidable

This will route all your Formidable form entries through OOPSpam’s spam detection system.

Step 4: Block or Allow Countries

Find the Country Filtering settings:

Country Filtering settings

Choose your preferred method, select countries, and save.

Done. OOPSpam will now block submissions from those regions without blocking visitors from browsing your site.

Bonus: Use Formidable’s Cascading Locations Add-On

Want to let users self-select their country, state, or city in a form? Try the Formidable Locations Add-On (Plus plan or higher). While it doesn’t block spam, it improves accuracy and user flow.

Use Formidable’s Cascading Locations Add-On

You can:

This is ideal for lead segmentation, shipping details, or showing localized fields. But again, it’s a user-facing tool, not a security or blocking feature.

Reviewing Blocked Entries

With OOPSpam, you’re not guessing what was blocked. You can view:

OOPSpam logs are viewable in:

1. Form Spam Entries / Form Ham Entries (inside WordPress Dashboard)

Form Spam Entries / Form Ham Entries (inside WordPress Dashboard)

2. OOPSpam Dashboard (online portal with advanced logs)

OOPSpam Dashboard (online portal with advanced logs)

This visibility helps you fine-tune filters, recover false positives, and improve spam protection over time.

2. Block Entire Countries Using Cloudflare

If you’re facing larger issues like scraping, DDoS attacks, or malicious bot traffic from specific countries, then you may want to block entire countries from accessing your site.

Cloudflare

Cloudflare’s Web Application Firewall (WAF) allows this.

⚠️ Warning: This method blocks all access from selected countries, not just form submissions.

How to Block Countries in Cloudflare

How to Block Countries in Cloudflare

Step 1: Log Into Cloudflare

Go to Cloudflare.com, sign in, and choose the domain hosting your site.

Step 2: Create a Firewall Rule

  1. Go to Security > WAF > Firewall Rules
  2. Click Create Firewall Rule
  3. Name your rule something like “Block Countries”
  4. Set conditions:
    • Field: Country

    • Operator: is in

    • Value: Select countries you want to block

  5. Choose action: Block
  6. Save and deploy

Visitors from the selected regions will now be blocked entirely from your site.

For most users, though, form-level blocking (via OOPSpam) is enough and won’t affect real users browsing your website.

Final thoughts

Formidable Forms doesn’t include built-in country-blocking, but that doesn’t mean you’re stuck. With OOPSpam, you can block form submissions from unwanted countries, reduce spam, and monitor entries with full transparency.

OOPSpam works with many other form builders too, including Forminator, Breakdance Forms, WS Form, Jetpack Forms, and more.

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: