Elementor and Complianz custom accept cookies link not working anymore
-
Hello,
in my Elementor contact forms I always have a acceptance checkbox for reading the privacy policy and the use of reCAPTCHA. reCAPTCHA is blocked until the checkbox is checked.
It looks like this: https://ibb.co/rZpS0Xc
I made this by adding an HTML element to the Elementor form with the following content:
<script> document.getElementById("form-field-field_fb25243").classList.add("cc-accept-all"); </script>
This worked like charme, until the release of Complianz 6.
I already read your update manual over here https://complianz.io/update-manual-for-complianz-6-0/ and found out that some CSS classes have changed.
So I tried the new CSS class in my JS code:
<script> document.getElementById("form-field-field_fb25243").classList.add("cmplz-accept"); </script>
But this does not work completely. If I now click the checkbox, reCAPTCHA is loaded but the checkmark is not set. And this is why the whole contact form does not work. Because the checkbox is a required field and cannot be checked anymore.
I already tried other classes that I found in your integration guides, like “cmplz-accept cmplz-elementor” or “cmplz-accept-marketing cmplz-elementor”. Nothing really works. reCAPTCHA is loaded but the checkmark cannot set.
Could you please tell me how to get the checkbox work again? I am not really a fan of your button solution, which disappears after you click it.
Many thanks and best regards!
Manuel
- The topic ‘Elementor and Complianz custom accept cookies link not working anymore’ is closed to new replies.