Title: CF7 Recaptcha consent api script button
Last modified: November 17, 2022

---

# CF7 Recaptcha consent api script button

 *  Resolved [tomsons86](https://wordpress.org/support/users/tomsons86/)
 * (@tomsons86)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cf7-recaptcha-consent-api-script-button/)
 * Hi,
 * I am currently integrating Contact Form 7 + Wp Consent Api + Complianz. I have
   CF7 5.4 and everything connected but i can’t make the “Accept marketing cookies…”
   a button as it is on the Contact Form 7 Example on your demo website.
 * Could you maybe help me resolve the issue??
 * Thank you very much in advance
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcf7-recaptcha-consent-api-script-button%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cf7-recaptcha-consent-api-script-button/#post-16211131)
 * Hi [@tomsons86](https://wordpress.org/support/users/tomsons86/),
 * Did you follow this article?
 * [https://complianz.io/integrating-the-consent-api-with-contact-form-7/](https://complianz.io/integrating-the-consent-api-with-contact-form-7/)
 *  Thread Starter [tomsons86](https://wordpress.org/support/users/tomsons86/)
 * (@tomsons86)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cf7-recaptcha-consent-api-script-button/#post-16211146)
 * Hi [@rogierlankhorst](https://wordpress.org/support/users/rogierlankhorst/),
 * Thank you for a quick response.
 * Yes i did every step of the article. If i accept the marketing cookies through
   the cookie banner or by clicking it on the google map – it works, but the “Accept
   marketing cookies before sending the form” text doesn’t work as a button like
   on your demo page.
 *  Plugin Support [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cf7-recaptcha-consent-api-script-button/#post-16211429)
 * Hello [@tomsons86](https://wordpress.org/support/users/tomsons86/),
 * I see, could you replace the code snippet for this Accept button with the below
   code?
 *     ```
       <script>
       jQuery(document).ready(function ($) {
          $( ".wpcf7-blocked-content-notice" ).wrap( "<div class='cmplz-accept-marketing placeholder-active'></div>" );
       }); 
       </script>
       ```
   
 * That should cause it to start working as intended. I will update the article 
   as well!
 * Kind regards,
    Jarno
 *  Thread Starter [tomsons86](https://wordpress.org/support/users/tomsons86/)
 * (@tomsons86)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cf7-recaptcha-consent-api-script-button/#post-16211469)
 * Hi [@jarnovos](https://wordpress.org/support/users/jarnovos/),
 * Thank you so much for your response.
 * It works like a charm 🙂
 * Kind regards
    Tomek
 *  Plugin Support [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cf7-recaptcha-consent-api-script-button/#post-16211475)
 * Hi [@tomsons86](https://wordpress.org/support/users/tomsons86/),
 * Great, glad to hear!
 * Thank you for the quick confirmation as well 😉
 * Kind regards,
    Jarno

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘CF7 Recaptcha consent api script button’ is closed to new replies.

 * ![](https://ps.w.org/wp-consent-api/assets/icon-256x256.png?rev=2239568)
 * [WP Consent API](https://wordpress.org/plugins/wp-consent-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-consent-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-consent-api/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-consent-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-consent-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-consent-api/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/cf7-recaptcha-consent-api-script-button/#post-16211475)
 * Status: resolved