This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

rafaelteboekhorst56221
rafaelteboekhorst56221

Hello!

Can anyone tell me how to add extra form-fields in this plugin? At the moment it only works for email subscription and does not receive any other data from html-input-fields. I want to add fields for: first-name, last-name but also one for phone-number and a text-area for questions. Im looking for help in the mailchimp documentation but Im not getting very far ;)

Best,
R

ndcisiv
ndcisiv

Looks like the plugin will include any of your merge fields as inputs, you just need to have them as part of the "merge_fields" array.

So if you want to include the subscribers name, you inputs could look like this:

<input type="text" name="merge_fields['FNAME']">

and

<input type="text" name="merge_fields['LNAME']">

I haven't tested it, but it should work.

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.