Search
Close this search box.

Documentation

In this article

Category:

Categories

Recent articles

How to implement reCaptcha and Consent for WP Forms

There’s a simple and effective way to integrate consent for reCaptcha in WP Forms., in WP Forms itself
    1. Select the field closest to the submit button and click for more options.
    For example see below image. We will add a clickable link to make sure people accept reCaptcha cookies before sending the form.
 
2. Look for ‘Description’ to add the below HTML.
For example see below image. The HTML will create a link that will only be available when cookies are not yet accepted.
3. If needed, style your new consent button.

You can use below CSS classes to override your theme’s styling. You can ofcourse add more styling if so desired.

4. Result.
This based on the default styling by WPForms. You can change this however you like.
No Consent. The Submit button is not shown, but replaced.
Consent has been registered and the Submit button is available and reCaptcha loaded.

Join 900.000 users and install The Privacy Suite for WordPress locally, automated or fully customized, and access our awesome support if you need any help!

Complianz has received its Google CMP Certification to conform to requirements for publishers using Google advertising products.