
Chazie Baniquid
Technical Content Marketer
6 minutes to read
How to block countries in 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:
- Using the OOPSpam Anti-Spam plugin for precise, form-level filtering
- Blocking entire countries with Cloudflare firewall rules
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
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?
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:
- Country filtering – Block or allow specific countries
- Language filtering – Exclude submissions written in unwanted languages
- Rate limiting – Prevent abuse by controlling how often forms can be submitted
- Spam score evaluation – Machine learning-based detection to catch suspicious activity
- Block bots, proxies, TOR, VPNs – Filter automated traffic
- Detailed logging – View blocked vs allowed entries with timestamps, IPs, and spam scores
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.
Back in WordPress, go to OOPSpam Anti-Spam > Settings and paste the key.
Step 3: Enable Protection for Formidable
Scroll to the “Formidable Forms” section and toggle on the spam protection.
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:
- Option 1: Allow submissions only from selected countries
- Option 2: Block submissions from selected countries
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.
You can:
- Let users select their country
- Show states or provinces based on their selection
- Drill down to counties or cities, especially for U.S.-based forms
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:
- IP address
- Submission content
- Timestamp
- Spam score and detection reason
- Email address (if submitted)
OOPSpam logs are viewable in:
1. Form Spam Entries / Form Ham Entries (inside WordPress Dashboard)
2. 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’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
Step 1: Log Into Cloudflare
Go to Cloudflare.com, sign in, and choose the domain hosting your site.
Step 2: Create a Firewall Rule
- Go to Security > WAF > Firewall Rules
- Click Create Firewall Rule
- Name your rule something like “Block Countries”
- Set conditions:
-
-
Field:
Country
-
Operator:
is in
-
Value: Select countries you want to block
-
- Choose action:
Block
- 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.