• Resolved lukefive

    (@lukefive)


    I modified a signup to be GDPR friendly. Checkbox below was suggested in this forum. But the signup will process without the checkbox being checked. Not good. How do I make the checkbox required for the form to submit?

    <form action="//example.com/subscribe/post?z=4321&y=4321" method="post" id="mc-embed-subscribe" name="mc-embed-subscribe-form" class="validate" target="_blank" novalidate>
    	<div id="mc_embed_signup_scroll">
    
    <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required><label><input type="checkbox" name="GDPR_CONSENT" value="1" required> I agree to have my personal information transferred to MailChimp.</label>
    <div aria-hidden="true"><input type="text" name="4321" tabindex="-1" value=""></div>
    
    		<div>
    <input type="submit" value="Subscribe" name="subscribe" id="mc-embed-subscribe" class="button" />            
    	</div>
    </form>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lukefive

    (@lukefive)

    Oops – just saw this in another forum…

    And that checkbox must be deselected by default. Also, making the user check the box can not be mandatory for them to proceed. In other words, “consent must be freely given, specific, informed and unambiguous.”

    It looks like the real challenge here is to subsequently track the consent. To be able to prove what consent choice the user made. I’ve seen a timestamp option but not for WordPress.

    Plugin Contributor Lap

    (@lapzor)

    That code is not for our plugin!! Please be sure to use the Mailchimp for WordPress plugin for your form!

    If you do, you can copy this code:
    https://gist.github.com/dannyvankooten/c6ac57e734348fdf7ce1b3b65e4ecdd7

    Hope that helps. If you have any questions, please let us know!

    Thread Starter lukefive

    (@lukefive)

    Thank you @lapzor for the clarification.

    And regarding the logic of not forcing the checkbox here is official consent GDPR

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Require GDPR consent checkbox?’ is closed to new replies.