Summary
The CAPTCHA field allows you to add a captcha field to your form, to help protect your website from spam and bot abuse by trying to determine if the form is being submitted by a human, or defeating a form submission attempt by a scripted bot. The Gravity Forms Captcha field is available under the Advanced Fields section within the form editor.
CAPTCHA field as displayed in the Field Library
CAPTCHA field as displayed in the Form Editor.
Types
Gravity Forms supports Google’s free reCAPTCHA service. There are different types of reCaptcha, and the Gravity Forms CAPTCHA field supports:
- reCAPTCHA v2 Checkbox
- reCAPTCHA v2 Invisible (introduced in Gravity Forms 2.4.7)
Gravity Forms also now supports reCAPTCHA v3 with the official Gravity Forms reCAPTCHA Add-On. Google’s v3 does not utilize a form field at all, so you do not need this field for v3 implementations.
In addition to reCAPTCHA, the plugin Really Simple CAPTCHA may also be installed and activated for use within Gravity Forms. If you have this plugin installed, you will be offered the option to use this type of captcha.
Prerequisites
To communicate with the Google reCAPTCHA service of your choice, you will need a pair of API keys added to your settings. Refer to this guide for help obtaining your keys and entering them into your Gravity Forms settings.
Common Settings
This field uses only common field settings for the Appearance settings. For a description of each of the common field settings, refer to this article. Below you will find description of specialty settings that are particular to this field.
General Settings
Theme
This option is only available when using reCAPTCHA. Select the visual theme for the reCAPTCHA field from the Light and Dark options to better match your site design.
Advanced Settings
Setting | Description |
---|---|
Language | This option is only available when using reCAPTCHA. Select the language you would like to use for the reCAPTCHA display from the available options. |
Merge Tags
This field does not have any available merge tags.
How To Add a Captcha Field to your Form
Check out this excellent blog post on how to add a Captcha Field to your form and why it’s useful.