Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDPR Fields #80

Open
Hendrejvr opened this issue Sep 8, 2020 · 3 comments
Open

GDPR Fields #80

Hendrejvr opened this issue Sep 8, 2020 · 3 comments

Comments

@Hendrejvr
Copy link

Hi

Firstly, thank you for the plugin.

How do you guys handle the GDPR fields? In the form builder it looks like this:
<fieldset class="mc_fieldset gdprRequired mc-field-group" name="interestgroup_field"> <label class="checkbox subfield" for="gdpr_42537"><input type="checkbox" id="gdpr_42537" name="gdpr[42537]" value="Y" class="av-checkbox gdpr"><span>Email</span> </label> </fieldset>

Am I just missing something? Because at the moment it doesn't seem to be working

I am currently hard coding it like so (where gdprResponse is currently just "Y"):
addToMailchimp(email, { //FNAME: "", //LNAME: "", "gdpr[42537]": gdprResponse, })

@benjaminhoffman
Copy link
Owner

we aren't handling it. sorry! would love if you wanted to help solve it and open a PR!

@Hendrejvr
Copy link
Author

Sure, I can do that. Let me check

@Hendrejvr
Copy link
Author

#81
I have fixed it locally for me, so you can take your time reviewing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants