# GDPR - checkbox to agree with it for contact forms

**URL:** <https://forum.wixstudio.com/t/gdpr-checkbox-to-agree-with-it-for-contact-forms/38553>\
**Category:** Ask the community\
**Tags:** wix-forms, code, question\
**Created:** [June 7, 2018, 7:39pm UTC](https://forum.wixstudio.com/t/gdpr-checkbox-to-agree-with-it-for-contact-forms/38553 "2018-06-07T19:39:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![imrebellonphoto](https://avatars.discourse-cdn.com/v4/letter/i/eb8c5e/32.png) [@imrebellonphoto](https://forum.wixstudio.com/u/imrebellonphoto)\
**Post date:** [June 7, 2018, 7:39pm UTC](https://forum.wixstudio.com/t/gdpr-checkbox-to-agree-with-it-for-contact-forms/38553/1 "2018-06-07T19:39:19Z")

</div>

Is there any way or code to get a required checkbox next to a contact form send button to agree with GDPR?  
I set it for sign up (privacy policy and terms of use) but on my site there is a chance to send email with your private data (email, name, etc,) without signing up so there I need something visitor can agree with GDPR.

Thanx!  
Imre

---

<div class="post-metadata">

**Author:** ![carlosgalvarez](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/carlosgalvarez/32/2194_2.png) [@carlosgalvarez](https://forum.wixstudio.com/u/carlosgalvarez)\
**Post date:** [June 8, 2018, 8:03am UTC](https://forum.wixstudio.com/t/gdpr-checkbox-to-agree-with-it-for-contact-forms/38553/2 "2018-06-08T08:03:39Z")

</div>

You can add one checkbox from the input elements, it returns a boolean but you can change the values, and made it required.

---

<div class="post-metadata">

**Author:** ![imrebellonphoto](https://avatars.discourse-cdn.com/v4/letter/i/eb8c5e/32.png) [@imrebellonphoto](https://forum.wixstudio.com/u/imrebellonphoto)\
**Post date:** [June 8, 2018, 9:27am UTC](https://forum.wixstudio.com/t/gdpr-checkbox-to-agree-with-it-for-contact-forms/38553/3 "2018-06-08T09:27:46Z")

</div>

And this way the contact form Send button will ‘see’ the required checkbox and not works until it getting checked?

Thx,  
Imre

---

<div class="post-metadata">

**Author:** ![imrebellonphoto](https://avatars.discourse-cdn.com/v4/letter/i/eb8c5e/32.png) [@imrebellonphoto](https://forum.wixstudio.com/u/imrebellonphoto)\
**Post date:** [June 8, 2018, 9:49am UTC](https://forum.wixstudio.com/t/gdpr-checkbox-to-agree-with-it-for-contact-forms/38553/4 "2018-06-08T09:49:03Z")

</div>

It seems does not working. Checkbox and contact form works separately.  
It only works when you build your own button with submit function to a database but this way I can not configure the button to send email like contact form.

Can someone know code for configure the contact form?  
Or any other solution?

Thx in advance!

---

<div class="post-metadata">

**Author:** ![\_tal](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/_tal/32/669_2.png) [@\_tal](https://forum.wixstudio.com/u/_tal)\
**Post date:** [June 13, 2018, 8:33am UTC](https://forum.wixstudio.com/t/gdpr-checkbox-to-agree-with-it-for-contact-forms/38553/5 "2018-06-13T08:33:29Z")

</div>

You can create your own contact form using Wix Code (user inputs etc…) and use the [triggered email](https://support.wix.com/en/article/about-triggered-emails) feature to design the email you would like to send.

Best,  
Tal
