Plugin Contributor
Lap
(@lapzor)
Hi,
Did you add the mc4wp- prefix to the field names in your WordPress?
So the resulting field name should be mc4wp-MAILCHIMPFIELDNAME
e.g. <input name=”mc4wp-MMERGE5″…>
Hope that helps. If you have any questions, please let me know!
I need some clarification about what you mean by “field names in your WordPress” because I believe that’s what I described in my initial query. Because I’m using the Events Manager integration, all of my field names are located in Event’s Manager’s booking form editor located at WordPress > Dashboard > Events > Forms Editor in the “Booking Form – General Information” section. Here’s where all of the input fields that appear on my booking form appear, including field ids “user_name” and “user_email”. user_name correctly gets split into first and last name and populates the corresponding fields in Mailchimp, as does user_email. This section is where I added a field id “MC4WP-testimport2”. But this field data does not populate the corresponding field named “testimport2″ in Mailchimp.
Just as a double-check, I looked at the source code of the generated form in my browser and found the input field. Here’s the HTML generated:
<input type=”text” name=”MC4WP-testimport2″ id=”MC4WP-testimport2″ class=”input” value=””>
Follow-up: I notice you used MMERGE5 in your example. This is a merge tag, not a field name. Or rather, what I now notice mailchimp calls a field label. Maybe I should be trying to match on Mailchimp’s merge tag name, not Mailchimp’s field label? I’m going to give that a try.
Nope. The merge tag name doesn’t work either.
Hey @safigan,
After you created the new field in MailChimp, did you go to the “MC4WP” menu in your WordPress admin and click on “Renew MailChimp Lists” button? If yes, then check if the new field is displayed when you click on the list name.
No I was not renewing the mailchimp lists, and that definitely was a problem. Unfortunately, renewing the mailchimp lists did not solve the problem, so there’s still a problem in addition to that.
The field in Dashboard > MC4WP > Mailchimp > Merge Fields is now name=”test2″ tag=”MMERGE16″ type=”text”
The field in Dashboard > Events > Forms Editor > Booking Form Fields is label=”Test Import 2″ field id=”mc4wp-test2″ type=”text” (I’ve also tried field id=”mc4wp-MMERGE16″ Which field id is correct?)
The generated HTML is:
<p class=”input-group input-text input-field-mc4wp-test2″>
<label for=”mc4wp-test2″>Test Import 2</label>
<input type=”text” name=”mc4wp-test2″ id=”mc4wp-test2″ class=”input” value=””></p>
Neither specifying field id mc4wp-test2 nor mc4wp-MMERGE16 results in the data populating the field in mailchimp. Events Manager Integration is active and enabled.
Hey @safigan,
Can you please reach out to us using the details at https://www.mc4wp.com/contact/ ? Also, please share a link to this post.