10. Let's Celebrate!

Nu firar vi!You are a star!


6.9b Add a Privacy Policy Consent Checkbox in a Divi Form

  • Your progress:

Let’s include a mandatory checkbox for the privacy policy in the contact form and link it to our privacy policy. Here’s how you can achieve that:

1. Open the Contact Form module settings.

2. Add a new field and name it “Privacy.”

3. Omit the title for this field by entering a blank space.

4. In the field options, select the “Checkbox” type.

5. Enter the initial part of the text, such as “I have read and agreed to the.”

6. To add the actual link to your privacy policy, click the small icon representing a chain.

7. Specify the link URL, which should lead to your privacy policy page, like “/privacy-policy.”

8. In the “Link Text” field, input “Privacy Policy” to make it clear and user-friendly.

9. Make this checkbox field required, ensuring that users can only submit the form if they agree to your privacy policy.

Now, there’s one remaining issue: the checkbox doesn’t resemble a typical checkbox; it looks like a simple line. However, this is easily rectified:

10. Go to the “Design” tab for this specific field (the checkbox).

11. In the “Border” section, set the border style for all sides to “1.”

This adjustment will provide you with a neatly designed checkbox.

Please note that if you wish to include a more comprehensive description of your privacy policy within the form to ensure GDPR compliance, you can utilize the “Title” field to provide a brief overview of your privacy policy. Remember that legal requirements may vary, so it’s essential to verify the specific regulations applicable to your case.

All links, files and code snippets mentioned in the chapter is available below. 👉

This is a free course about how to design a website with WordPress and Divi. The course is funded by affiliate links. If you purchase something from these links, we'll receive a commission but it will never cost more for you. Divi is a registered trademark of Elegant Themes, Inc. This website is not affiliated with nor endorsed by Elegant Themes or SiteGround. DiviMundo is 100% independent. We only promote services that we like and use ourselves on a daily basis.

Victor Duse
Victor Duse was born in Sweden in 1980 and has over 20 years experience of web design, web development and teaching in sectors like media, marketing, energy, industry and the public sector. He's the founder of DiviMundo and the WordPress Agency Duse Media in Malmö, Sweden. Victor is a Brazilian Jiu-Jitsu black belt and he has a soft spot for dark chocolate.


Feel free to ask questions and leave feedback on the tutorial here.


Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Affiliate Disclaimer

All content on DiviMundo is funded by you – our beloved readers. Some of the links are affiliate links. This means that if you click on the link and purchase something, I will receive an affiliate commission. But it will never cost more for you. Thanks for your support!

Victor Duse, founder of DiviMundo