You can’t build a successful business online without creating a contact form on your website. And as you know, there are so many free and premium WordPress contact form plugins available, which will help us to build contact forms without writing a single line of code.
If you check our contact page, you could see that we have a neat and simple contact form there.
Also, if you already have a contact form on your website, you probably know that the forms are being spammed by a lot of other businesses or individuals.
If you are receiving too many spam emails through the forms, we have got you a solution for it!
In this post, we are going to show you how you can build spam-free WordPress contact forms in simple steps!
WPForms is known as one of the famous, drag-and-drop WordPress contact form plugins. The same company behind other popular plugins like OptinMonster, MonsterInsights, SeedProd, RafflePress created the plugin. Thankfully, WPForms offers a free version with limited features and support.
It can be downloaded from the WordPress plugins repository – WPForms Lite.
WPForms Lite version is used by millions of website owners worldwide. For simple contact forms and suggestion forms, the free version is good enough.
The premium version comes with integrations, more advanced features, etc. When you need a contact form for your business website, you probably want to choose the premium version!
How To Build a Spam-Free Contact Form?
Now, let’s see how we can build spam-free WordPress contact forms without writing a single line of code.
The first thing you need to do is purchase the Pro plan of WPForms. WPForms Pro is the same plan which we are using for the projects. It comes with so many cool features and integrations with other third-party apps.
After purchasing the plan, you can log in to your WPForms account, download the premium version of the plugin. Get back to your WordPress blog, install, and activate the plugin.
Plus, activate the plugin copy with the license key.
Now, move forward and create a new contact form.
Name your form. Also, there are a few pre-made templates are available. If you are in a hurry, you could easily import them to your builder. Or, you can start from scratch.
In my case, I will be creating a contact form with the pre-made template.
On the next page, you could see the form in the builder.
Now, let’s make it spam-free.
On the left side, you could see a field called Google reCAPTCHA.
Click on it, and it will open up a pop-up. On a new tab, open the WPForms settings.
There are 3 type reCAPTCHA solutions are available.
- V2 Checkbox.
- V2 Invisible.
- v3 reCAPTCHA.
For configuring these, you need a site key and a secret key. You could choose the checkbox reCAPTCHA or invisible reCAPTCHA. The checkbox reCAPTCHA would look like:
The next step is generating the keys. Go to this link. You need to access the admin page.
Log in to your Google account. Then you can add your website to the console. There will be a + button for adding new sites to the console.
Label your property.
You need to choose the reCAPTCHA type on the next page.
Then add your domain name, save the settings.
You don’t want to add the prefix like https://www.example.com or http://example.com. Just example.com will do the job for you.
The site key and secret key will get generated almost instantly. On the next page, you could see them.
Get back to the WPForms reCAPTCHA settings, paste the generated keys, and save the settings.
Now, you are good to go. You can add reCAPTCHA to all your contact forms. In the WPForms settings, go to the General Settings. Enable the Google Checkbox v2 reCAPTCHA and save the form.
We are done!
Now, let’s embed the form to a page. As you know, WPForms is optimized for WordPress 5.0, also known as Gutenberg.
So, by using the Gutenberg block, which is for WPForms, we can embed the form on any page or post.
And if you check the page from the frontend, you will see the reCAPTCHA button.
If you prefer an invisible captcha box, you could choose it while you add your website to the console.
Also, when you do this, make sure that you have changed the configuration in the WPForms settings.
This is how you can build spam-free WordPress contact forms.
Get Started With WPForms
If you are ready to take your hands on the premium version of WPForms, you could do it from below.
We hope you found this post helpful and enjoyed the read. If you did, please consider sharing this post with your friends and fellow bloggers on social media.
And probably, this guide will help them to reduce spam through their contact forms!
For more WPForms Resources,