How to Build Spam-Free Contact Form in WordPress?
You can’t build a successful business online without creating a contact form on your website. And as you know, so many free and premium WordPress contact form plugins are available, which will help us build contact forms without writing a single line of code.
If you check our contact page, you can see that we have a neat and simple contact form.
And we are using the WPForms plugin for this purpose. Read our WPForms review to find out why!
Also, if you already have a contact form on your website, you probably know that the forms are being spammed by many other businesses or individuals.
If you are receiving too many spam emails through the forms, we have got you a solution!
This post will show you how you can build spam-free WordPress contact forms in simple steps!
Recommended Read: How To Increase Your Productivity Using WPForms and Zapier?
Hola, WPForms!
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, and 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. The free version is good enough for simple contact forms and suggestion forms.
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 excellent features and integrations with other third-party apps.
After purchasing the plan, you can log in to your WPForms account and download the plugin’s premium version. 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 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 can 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 types of reCAPTCHA solutions 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 this:
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, and 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 can 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 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 front end, 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 can do it from below.
$This is an affiliate link
We hope you found this post helpful and enjoyed the read. Please consider sharing this post with your friends and fellow bloggers on social media if you do.
And probably, this guide will help them to reduce spam through their contact forms!
About the Author
Did you find the article useful?
Then pin me to your Pinterest Board, so that more people will find me
(Remember: The more you give to the Universe, the more you will get from the Universe)
So, Pin meEnter your Email Address below and be the FIRST to receive our Blogging Tips.
Reader Interactions
Comments
Leave a Reply
You must be logged in to post a comment.
Dev Patel says
Spams are one of the biggest problems in today’s world. Many sites have halves of their audience filled with spam and it is important to have a spam-free contact forms. Thanks for the tips it helped me a lot.
BlogHeist says
Hey Dev!
It’s great to know you could benefit from our post.
Keep checking for more
Should you’ve any questions, please don’t hesitate to get in touch:
https://blogheist.com/contact-us/
PHILIPPE BLONDEAUX says
Could you please elaborate on how a customer submitting an order will get an order confirmation email with the details of his order. That part of the workflow seems to be missing. Thanks