First, you should download and install the Ninja Forms on your site. Here, you can understand how to install plugins in the WordPress. After the successful installation of the plugin, go to the dashboard and click the settings of Ninja Forms. Here you can see we need a site and secret key for the Google Recaptcha.

Setup your Google reCaptcha account

Firstly, we need to create an account on Google reCAPTCHA. This can be done manually or by signing up with Google. After signing up, click on the admin panel of Google reCAPTCHA, set the configuration of your site, and get both keys (site and secret). Then attach these keys to your site.

Follow this article to set up a Google reCaptcha account. Then you can get the keys after this article.

Add Google reCAPTCHA Keys in the Setting

After getting the keys, go to Ninja Forms settings in WordPress’s Dashboard. Paste your keys into the appropriate fields (v3 or v2) then click on the save button to update the site settings.

Add Captcha Field in the Form

Go to the Form’s Dashboard, click on the gear click, and select the ‘Edit’ option for the form.

For v3 Captcha :

If you want to add v3 reCAPTCHA to the form, go to “Emails & Actions“, click “Add new section“, and select the “reCAPTCHA v3” field. After adding it, click the ‘Publish‘ button to save your changes. Now you can see reCAPTCHA v3 at the right bottom of your site.

For v2 Captcha :

If you want to add v2 reCAPTCHA to the form, go to the edit screen, click “Add new field“, and select the “reCAPTCHA v2” field. Select the visibility option that you have set in the admin panel of Google Recaptcha. After adding it, click the ‘Publish‘ button to save your changes. Now you can see reCAPTCHA v2 in your form.

Leave a Reply

Your email address will not be published. Required fields are marked *

Optionally add an image (JPEG only)