Skip to content

GDPR Fields #80

@Hendrejvr

Description

@Hendrejvr

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, })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions