GDPR - checkbox to agree with it for contact forms

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

1 Like

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

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

Thx,
Imre

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!

You can create your own contact form using Wix Code (user inputs etc…) and use the triggered email feature to design the email you would like to send.

Best,
Tal