### [Using Custom Captcha](https://wpforms.com/docs/how-to-install-and-use-custom-captcha-addon-in-wpforms/)

**Published:** November 18, 2023
**Author:** David Ozokoye

**Excerpt:** Learn how to stop spam with a custom question and answer or Math Captcha field.

**Content:**

Custom Captcha is a Basic Feature

 Unlock Custom Captcha and other powerful features to grow your business.

 [ Get WPForms Basic ](https://wpforms.com/pricing/) 

Do you want customizable options to protect your forms against spam submissions? The WPForms Custom Captcha feature makes it easy to create a custom question and answer or Math Captcha field for spam prevention.

This tutorial will show you how to customize the Custom Captcha field in WPForms.

﻿

---

**Note**: Are you looking for details on Google’s reCAPTCHA? Our [tutorial on spam free contact forms](https://wpforms.com/how-to-build-a-spam-free-contact-form-without-captcha/) covers all available anti-spam methods for WPForms.

Before we get started, be sure to [install and activate WPForms](https://wpforms.com/docs/install-wpforms-plugin/ "How to Install the WPForms Plugin") on your WordPress site. Also, make sure you’ve [verified your license](https://wpforms.com/docs/verify-wpforms-license/).

### Adding a Custom Captcha Field

**Note:** Custom Captcha has been integrated into WPForms version 1.8.7 and above. You won’t need to install an addon if you’re using the latest version of WPForms. However, if you’re still using an earlier version, you’ll need to [install and activate the Custom Captcha addon](https://wpforms.com/docs/install-activate-wpforms-addons/ "How to Install and Activate WPForms Addons").

To start, [create a new form](https://wpforms.com/docs/creating-first-form/) or edit an existing one to access the form builder. In the form builder, you’ll find the **Custom Captcha** field under **Fancy Fields**.

![Custom Captcha field](https://wpforms.com/wp-content/uploads/2021/07/Custom-Captcha-field.png)

To use 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.

To customize the field, 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**.

![Custom Captcha example](https://wpforms.com/wp-content/uploads/2023/11/custom-captcha-field-options.png)

In the next sections, we’ll explain the 2 available Captcha types you can use for your form.

### Math Captcha

This is the default option when you add the Custom Captcha field to your form. 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. Here’s an interactive form with Custom Captcha enabled.

Please enable JavaScript in your browser to complete this form.

##### Try this Form Demo!

Email \*

Request Type \*Customer SupportProduct InquiryOther

Other Type \*

Request \*

Custom Captcha \*     =      

Please answer the question above to proceed.

Submit![Loading](https://wpforms.com/wp-content/plugins/wpforms/assets/images/submit-spin.svg)

 **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](https://wpforms.com/developers/change-the-captcha-math-for-the-custom-captcha-addon/ "How to Change the Captcha Math for the Custom Captcha Addon") for more details.

### Custom Question and Answer

Alternatively, you can use a custom question and answer instead of the Math Captcha type. To do so, in the **Field Options** panel, go to the **Type** field to select the **Question and Answer** option.

![Custom Captcha question and answer](https://wpforms.com/wp-content/uploads/2023/11/custom-captcha-q-and-a.png)

Next, add a question in the first field, and its answer in the second field.

![Set question and answer](https://wpforms.com/wp-content/uploads/2023/11/add-question-and-answer.png)

If you’d like, you can add or remove sets of questions and answers by clicking on the **plus (+)** or **minus (-)** buttons respectively.

![Adding a new question](https://wpforms.com/wp-content/uploads/2023/11/adding-another-question.png "Adding a New Question")

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. We recommend [testing your form](https://wpforms.com/docs/how-to-properly-test-your-wordpress-forms-before-launching-checklist/) before publishing it to ensure it functions properly.

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](https://wpforms.com/docs/setup-form-confirmation-wpforms/ "How to Set Up Form Confirmation in WPForms").

**Categories:** Fields, Spam Prevention and Security

---

