One thing you need to do for GDPR compliance is to add consent checkboxes everywhere…to every form, every optin. I’ll discuss how to do it with your optins a bit later; for adding one to your comment form, see this post.
Here’s how to add a checkbox to a Contact Form 7 form:
Note that this will work for ANY theme, not just Genesis child themes.
This is not hard to do, it simply involves a bit of HTML (see my previous post on bare-bones HTML).
First, go to Contact –> Contact Forms.
Then click the name of a form to edit it.
You will see that this first tab, the “form,” is all code…technically, it’s a mix of HTML and shortcodes.
You want to put your cursor & hit return a few times above the [submit] shortcode (if you use recaptcha, add this before that).
Paste in this code:
Here’s how it looks on the back end:
After editing, save the form, and then take a look at your contact form to make sure it’s all showing up ok.
You won’t need to make any other changes to your form; this acceptance checkbox is automatically a “required” field, and no one can submit a form without checking the box.
You can see the code in action on my own contact form here on the site.
I hope this helps someone. 🙂