• Resolved tomsons86

    (@tomsons86)


    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 to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Thread Starter tomsons86

    (@tomsons86)

    Hi @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 jarnovos

    (@jarnovos)

    Hello @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

    (@tomsons86)

    Hi @jarnovos,

    Thank you so much for your response.

    It works like a charm ??

    Kind regards
    Tomek

    Plugin Support jarnovos

    (@jarnovos)

    Hi @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.