You would need to alter this part of the script to handle those 2 new fields:
mailchimpFormInputs.forEach(function (input) {
const type = input.type;
const name = input.name;
if (type === 'email' && input.value.length > 1) {
submissionUrl += '&EMAIL=' + input.value;
} else if (type === 'checkbox' && input.checked) {
submissionUrl += '&' + name + '=true';
}
});
@jasondark Can you share exactly how you need to alter the script to handle FNAME as well?
Cause currently whenever someone fills out my Webflow form, the user gets inside all Mailchimp groups.
Here’s my read-only link.
Thanks for the good work!