Onar Alili
Engineer
9 minutes to read
Securing Your Forminator Contact Forms: Proven Tactics for Spam Prevention
Forminator is another popular contact form builder packed with features. It has a generous free plan and a pro plan with extra features like Stripe integration, E-signature, and better support. In this article, however, we are going to talk about Forminator’s anti-spam capabilities.
Forminator comes with built-in spam protection features. These are free tools like reCAPTCHA, hCAPTCHA, and honeypot field, and Akismet is a paid option. Our plugin OOPSpam WordPress plugin now supports Forminator too. Let’s go through each of them.
OOPSpam WordPress plugin
OOPSpam WordPress plugin (that’s us 👋) is another way to stop spam on your Forminator and WordPress comments. The plugin works with OOPSpam API that protects over 3.5M websites daily. While the other alternatives above are free, OOPSPam API is a paid service. But it does come with free 40/month spam checks for you to test and see the difference.
It’s likely you have already tried the below options, and they didn’t work for you. It could be a slow website from reCAPTCHA or overwhelming spam you are still getting despite implementing the below alternatives. These are benefits OOPSpam has over other alternative:
- Doesn’t slow down your website
- Keeps your site accessible to all users
- Stops both human spammers and bots
On the plugin’s settings page, you could also adjust how sensitive you want your spam filter to be. Even keeping default Sensitivity level setting will help you cut down spam to zero.
In addition, the plugin allows you to set up a filter to accept submissions only from certain countries and languages.
✨ Since then, we have also added the Block messages from these countries feature.
Here are a few steps to activate spam protection for Forminator
-
Subscribe to get an API key then copy-paste the API key to the plugin’s appropriate field under Settings->OOPSpam Anti-Spam on your WordPress Admin Dashboard.
ℹ️ Make sure to select OOPSpam Dashboard on the setting page
-
If you have Forminator installed then a special section will appear on the OOPSpam Anti-Spam plugin’s settings page.
-
On this page, you need to activate the spam filtering for Forminator by checking the Activate Spam Protection checkbox. You don’t have to do anything on your form. Once you activate spam protection on the OOPSpam plugin settings, you are good to go.
-
Don’t forget to enter a short message to display when a spam form entry is submitted. Your message will appear at the bottom of the message field.
Honeypot
We previously discussed how the honeypot technique works. While it’s not as effective as it used to be, it still prevents some bots from spamming your forms. Forminator has a built-in honeypot field but you need to enable it. The honeypot field won’t be visible to humans, but bots see the hidden field as a valid field. Bots scan a website and fill in all the fields, including the hidden field in your form. Forminator will dismiss every submission that has an entry in a hidden field.
To enable the honeypot field, edit your form and switch to Behavior settings and under Security toggle Enable Honeypot protection option.
reCAPTCHA and hCAPTCHA
Forminator also supports both reCaptcha and hCAPTCHA. For those who have never heard of these options, both reCAPTCHA and hCAPTCHA are spam protection solutions. reCAPTCHA, by Google, verifies users with challenges. It has visible and invisible modes but raises privacy concerns. hCAPTCHA is a privacy-friendly alternative. It supports both challenge and invisible modes.
It is available as a field in your forms. Edit your forms and click on Insert Fields and choose Captcha. On the presented screen, you will be able to select reCAPTCHA or hCAPTCHA. Here, you can also select what type of reCAPTCHA you want on your website.
Before start using either of the CAPTCHA options, you need to get Site Key and Secret Key for it. You can enter your keys under Forminator -> Settings -> CAPTCHA.
Here is how to get reCAPTCHA keys:
- Go to the reCAPTCHA website and click on the “v3 Admin Console” button located on the top right corner of the page.
- Sign in to your Google account if you haven’t already done so.
- On the Admin Console page, click on the “Add” button to register a new site.
- Fill in the required fields, such as your website domain name and reCAPTCHA type (v2 or v3).
- After you’ve filled in the required fields, click on the “Submit” button to register your site.
- You’ll be taken to a page with your site key and secret key. These are the keys you’ll need to integrate reCAPTCHA into your website.
To obtain hCAPTCHA Site Key and Secret Key, follow these step-by-step instructions:
- Visit the hCAPTCHA website: Go to the official hCAPTCHA website.
- Sign up for an account: Click on the “Sign Up” button and provide the required information to create a new account.
- Create a new site: Once you’re logged in, navigate to the “Sites” section or dashboard.
- Register a new site: Click on the “Register a new site” button or a similar option to register a new website.
- Provide website details: Fill in the necessary information for your website, such as the website name, domain, and any other required fields.
- Select hCAPTCHA type: Choose the type of hCAPTCHA you want to use. You can select between the “Checkbox” or “Invisible” options depending on your preference.
- Get Site Key and Secret Key: After completing the registration process, hCAPTCHA will generate a unique Site Key and Secret Key for your website.
- Copy the keys: Copy the generated Site Key and Secret Key and keep them in a secure location.
By following these steps, you should be able to obtain your hCAPTCHA Site Key and Secret Key for your website’s forms.
📌 Make sure to add the CAPTCHA field to your Forminator form.
Should I set up reCAPTCHA v2 or v3?
Forminator supports both v2 and v3 versions. First, let’s quickly see how are they different.
- reCAPTCHA v2: A visitor solves provided captcha
- reCAPTCHA v2: Invisible: Hidden by default. A CAPTCHA appears if a visitor is detected as malicious
- reCAPTCHA v3: Invisible all the time
v3 came after many people complained about accessibility and usability issues with v2. v2 asks visitors to solve a challenge before submitting a form. To address this issue, Google removed the “challenge” part of reCAPTCHA. As a result, with v3, users don’t solve any challenge. Instead, it tracks the user’s behavior on your website and scores the user from 0 (bot) to 1 (human). It is up to the website owner to determine the threshold.
Many people are happy with reCAPTCHA. It is effective against simple bots, however, advanced bots can bypass reCAPTCHA. There are also “captcha farms” where people get paid to solve reCAPTCHA. It may also slow down your website as it loads extra js files into your website.
If you’re looking for a free and easy solution, reCAPTCHA may be the answer.
📌 Tip: Consider adding both reCAPTCHA and the honeypot field to your contact form. Remember HoneyPot is NOT enabled by default.
Final thoughts
All websites eventually get hit by spammers. As a website grows and gets more traffic it attracts more serious spammers with advance bots. Both honeypot and reCAPTCHA/hCaptcha will protect your website to a certain degree but they are not enough for targeted spam attacks, manual spam and sophisticated bots. I hope this article helps you find a solution for your spam problem.
That is all! Go on and create your forms.
Happy spam-free day!