infobar-image

If you like our content, please support our site by whitelisting it in your adblocker. We depend on ad revenue to maintain this site and to keep creating quality content for free.

TRENDING »
Loading...

Create Contact form with Captcha in Google Forms


Add a Captcha To Google Forms

Adding Captcha in Google Forms can help to improve the security of your online forms by preventing unauthorized submissions. By adding a captcha, you can ensure that only valid and properly formatted responses are accepted. Additionally, this feature helps combat spamming or bots that might try to submit false or inaccurate information.

Adding Captcha in Google Forms can help to prevent spam submissions and ensure that only genuine users can submit their forms. This is a great way to reduce the time needed to process submissions, as well as improve the quality of your forms.

What is Captcha? A brief explanation of how a Captcha works

Captcha stands for Completely Automated Public Turing test to tell Computers and Humans Apart. That is, it requires users to enter text without seeing the digit or letter they are entering into form fields. This makes those forms that do not include Captchas to be used by bots or other malicious code designed by hackers to send out any false data via your forms (if you don't maintain a good code and validate it with captcha, users can find errors in your form. For example. Any of these mistakes may result in information leak or other malicious actions).

How Can I Add a ReCaptcha to Google Forms? 

There are a lot of articles on the internet about creating a Google form with Captcha, but all those suggest using PHP Script or service to implement Captcha. Even Google's own reCaptcha cannot be used without any server-side scripting. So, how to add reCaptcha in Google Forms? At the moment, Google does not support adding Google reCAPTCHA to forms and secure Google Forms Captcha cannot be implemented using just client-side scripting.

How to add Captcha in Google Forms?

Creating a Captcha for Google Forms is not so difficult. If you're looking to add Captcha to Google Forms, there are several different ways that you can do this. One popular method is to ask the user to type a random string displayed in the question through a text or image. But now the bots have become intelligent and they can easily evaluate question text or repetitive images by using AI techniques and enter it on the form to spam. Furthermore, you may many other ways to protect Google Forms from spamming. However, most of these methods are not so hard enough for bots to crack. There is still a way to make it difficult for the bots to use the forms for spamming by using simulated captcha in Google forms. This technique is explained in detail below so that you can create the most secure forms possible.

How To Create a Google Form with a Captcha?

Add Captcha In Google Forms

Here in this article, we will use Google Form to implement a demo contact form with Captcha and take advantage of the server-side validation that comes with the forms. We will add a Picture password to Google Forms as Captcha. It is also not so difficult to add a picture password to Google Forms and you can follow the steps easily.

We will also make simulated Captcha Google Forms showing different forms through an Iframe to make it more unpredictable for bots.

So, let's start.

First, create a Form by navigating to Google Forms


Create three sections in the form by clicking the Section Button


The first section will have our Captcha, the second section is for displaying an error if the user fails to clear Captcha validation. The third one will be our actual contact form.




In the first section, Type your question title and ask the user to select the correct options from the set of pictures. Next, upload the images.
Click on the image button and add images for each of the options. Once images are uploaded turn the small switch next to Required. This makes it mandatory for the user to select the option.


Now the question should look as shown here


Next to Required Switch, there is a menu, click on the three dots, and enable the Shuffle option order.
Again click on the three dots and click on Go To section based on the answer.



Now you will see another set of dropdowns next to each image option.
For the correct option select 'Go to section 3' and for incorrect options select 'Go to section 2'


Now, for the section Section 2, just below the section title there is an option  at the end named 
After section 2. Select Go to Section 1 as a user will have reached this section due to incorrect Captcha validation.

 In Section 3, we create our actual contact form.
 Enter the various fields as you require for the contact form.


Our contact form with Captcha is ready. Next, we embed it on our blog or website.
Click on send button then click on '<>'
Copy the Embed HTML and paste it into the HTML of the page where you want the form to appear.


💡 Bonus tip: If you wish you could create four duplicates of this form with each image uploaded on a different option and having a different image as the correct answer. This increases the complexity of the bots. And then you use the below JavaScript to randomly display different forms every time. Don't forget to replace the URL of your forms in the script.



That's it! Test the form to see if it is working as expected. Here is my Demo of the contact form you may want to check.

If you are thinking about how to send form responses to your email then refer to this step-by-step article.

Conclusion

In conclusion, to make your forms secure and be free from spam that generates fake submissions, add Captcha in Google Forms. It will give you the added security for all your online applications which are linked with it.

Let us know your views in the comment box below. 😃

Share with your friends

Add your opinion
Notification

Join our club to get all the updates about useful posts, interesting stories, rewarding giveaways, and freebies.

Done
Title
Text Content
Close
Cookies used on the website!
We and our partners use cookies to personalize content and ads, to provide social media features and to analyze our traffic.
You consent to use of these cookies if you continue to use this website.
Learn more »