the below anymod template needs a GDPR input Field and submit-Function to be applicable in Europe :
I cloned the form into a public project for you
https://anymod.com/projects/8P795P/dashboard
https://anymod.com/mod/get-in-touch-form-nknndm?cloneComplete=true
I defined the requirements for you
The result of such an update would look similar to the below form, which is already GDPR capable. So the below (public) mod might serve as a reference:
https://anymod.com/mod/swing-up-contact-form-with-gdpr-consent-llaalb?preview=true
The desired solution includes
-
A Button which will is only be clickable AFTER the GDPR-statement was confirmed:
<button class="btn waves-effect waves-light btn-large blue" :class="{ disabled: sending || !gdpr }" :disabled="sending || !gdpr" type="submit" name="action"> Submit your message<i class="material-icons right">send</i> </button>
-
An integration of the requiered function into vue.je
mod.data.gdpr = false
if (!this.sending) console.log('sending is not empty: ’ + this.sending)
if (!this.message) return this.alert = ‘Please add your message’
if (!this.gdpr) return this.alert = ‘Please select the GDPR box above’gdprAgreement: this.gdpr
Who can support the integration of this GDPR-Function into the above mentioned Anymod Template Form?
I will reference to it again This Form needs gdpr-compliance: https://anymod.com/mod/get-in-touch-form-nknndm?cloneComplete=true