Do you want customizable options to protect your forms against spam submissions? The WPForms Custom Captcha addon makes it easy to create a custom question and answer or Math Captcha field for spam prevention.
This tutorial will show you how to install and use the Custom Captcha addon for WPForms.
Requirements: Ensure that you’ve installed the latest version of WPForms to meet the minimum required version for the Custom Captcha addon.
Note: Are you looking for details on Google’s reCAPTCHA? Our tutorial on spam free contact forms covers all available anti-spam methods for WPForms.
Adding a Custom Captcha Field
Before we get started, be sure to install and activate WPForms on your WordPress site. Also, you’ll need to install and activate the Custom Captcha addon.
When the Custom Captcha addon is activated, you’ll be able to go in the form builder and see the option to add a Custom Captcha field.
To create this field in your form, simply drag and drop it into the form preview panel in your form builder. The Custom Captcha field will always be required so users have to answer the questions before submitting the form.
If you’d like to edit the field, you can click on the field in the form preview panel to open up its Field Options. Here you can make changes to the Custom Captcha field, such as the Label, Type, and Description.
The Math Captcha will randomly generate addition, subtraction, and multiplication questions in the form. When the form is published on a page, the field will display a new random math question each time the page is loaded or refreshed.
Note: If you’d like to customize the Math Captcha, you can do so using some custom code. Please see our tutorial on how to change the Math Captcha for more details.
Custom Question and Answer
If you’d prefer, you can use a custom question and answer instead of the Math Captcha. To do this, in the Field Options panel, go to the Type field to select the Question and Answer option.
Next, add a question in the first field, and its answer in the second field.
If you’d like, you can add or remove sets of questions and answers by clicking on the plus (+) or minus (-) buttons respectively. With multiple sets of questions and answers, the form will display one question randomly each time it is loaded in the browser.
Once you’re done configuring the Custom Captcha field, be sure to save your form.
That’s it! You can now add a Custom Captcha field in your forms to customize your spam prevention method.
Next, do you want to show users a confirmation message or a specific page after their form submissions? Then check out our guide on how to set up form confirmation.