Here we will cover how to add Google reCAPTCHA to the Ninja Forms contact form plugin on a WordPress website.
reCAPTCHAs help to prevent spam by ensuring that a human is filling out the contact form, and the contact emails are not being submitted by bots crawling the site.
Related Articles
Add Google reCAPTCHA to weForms
Setting up a reCAPTCHA with Ninja Forms
- Sign up for a reCAPTCHA v2 site key and secret key
- Log into the WordPress Dashboard
- On the left side-bar, hover over Ninja Forms and select Settings
- Scroll down to the reCAPTCHA settings section
- Enter the reCAPTCHA Site Key and Secret Key obtained in step 1
- Choose the appropriate language
TIP: Use the Google reCAPTCHA Language Codes article to determine the appropriate language code.
- Click Save Settings at the bottom of the page
- On the left-sidebar, hover over Ninja Forms again and select Dashboard
- Locate and click on the form that you'd like to add the reCAPTCHA to
- Click on the + sign in the bottom-right corner to add a new field
- Drag and drop the reCAPTCHA field from the Others section into the form area
- Scroll up to the top of the fields section on the right and click Done
- Click Publish on the top-right of the screen to save the form