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:
<label> <em> Your information is only sent to my email account, seen only by me and shared with no one else. I will only use this information to reply to your inquiry. Checking this box signifies that you understand this use of your data. <a href="your-privacy-policy-link-here">See my full privacy policy here.</a> </em> </label> [acceptance acceptance-218] Yes, I consent to my data being used for this purpose. [/acceptance]
Of course edit the text to say whatever you’d like, and be sure to add your privacy policy link into the HTML link. As always, make sure the punctuation stays as shown! (Yes, I will forever harp on punctuation…hey, I’m a former English teacher, it’s in my blood… 😉 But punctuation in coding is EXTREMELY important; it’s not simply a style thing or an “accepted way to do things” as it can be with writing. When coding, punctuation is part of the code…get the punctuation wrong, and you can break an entire site.)
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. 🙂