Help needed - GDPR Integration

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 :slight_smile: This Form needs gdpr-compliance: https://anymod.com/mod/get-in-touch-form-nknndm?cloneComplete=true

1 Like

Thanks for asking! We would recommend using the existing GDPR form as an example, and modifying the mod in question to have the same functionality.

It might be a good startingpoint and playground for me to learn more about vue.js

I will work my way into this, and certainly find a soultion.

PS: I did already try to use the existing Mod as an example and copy the logic over into the new form, but I failed somewhere and did not grasp why and where I failed. (that attempt was performed some month ago)

I will try again to add the nessesary gdpr requirements to that form.

I will succeed in the end :wink:

1 Like