• Resolved lukemclachlan

    (@lukemclachlan)


    I am integrating Contact Form 7 (by Takayuki Miyoshi) with MailChimp for WordPress. It is working, the error log is free from errors, however the name field isn’t being split into FNAME and SNAME. The contact 7 form is as follows:

    Your Name (required)
    [text* mc4wp-NAME]
    Your Email (required)
    [email* mc4wp-EMAIL]
    Message
    [textarea* textarea-132]
    [mc4wp_checkbox]
    [submit "Send"]
    <input type="hidden" name="mc4wp-GROUPINGS[17913][]" value="Website Newsletter Sign-Up's">

    On MailChimp I have the email address as EMAIL, the first name as FNAME and surname as SNAME. EMAIL and FNAME are required, SNAME is not. When I enter the name ‘Luke McLachlan’ in the name field of the contact form, only ‘Luke’ is saved in FNAME and blank for SNAME.

    Do you know why this is? The name is being split obviously. Thx.

    https://wordpress.org/plugins/mailchimp-for-wp/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey Luke,

    Can you please try renaming “SNAME” to “LNAME” in your MailChimp list and then click on “Renew MailChimp Lists” button in the “WordPress for WP” page in your WordPress backend?

    Let us know the test results.

    Thread Starter lukemclachlan

    (@lukemclachlan)

    Hi Harish that worked like a charm, thank you very much indeed. No log errors and the surname is now being passed to MailChimp.

    Out of interest, now that I have changed SNAME to LNAME in MailChimp, are there any negative ramifications? I have changed name="SNAME" to name="LNAME" on a widget that I also have on WordPress, and apart from these two areas where people can signup to my MailChimp newsletter I have no other signup forms. Do I need therefore to change any other setting on MailChimp apart from what I changed on the page ‘List fields and *|MERGE|* tags’?

    Thanks again / Luke

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey Luke,

    I’m glad the issue is resolved. There is no other changes required other than in our form at “MailChimp for WP > Forms”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘contact form 7 not splitting the NAME field’ is closed to new replies.