• Resolved pav1

    (@pav1)


    Hi there,

    I’m getting a Mailchimp error when using Interest groupings. I am using the free version of the plugin.

    HTML generated for the groupings is as follows:

    <p>
    	<label>TYPE:</label>
    	<label>
    		<input type="radio" name="GROUPINGS[13]" value="Member: *default* receive all our emails on events, meetings, news, etc">
    		<span>Member: *default* receive all our emails on events, meetings, news, etc </span>
    	</label> 
    
    	<label>
    		<input type="radio" name="GROUPINGS[13]" value="Customer: receive emails for only our ticketed events - dance parties, Satrang Film Festival, theatr">
    		<span>Customer: receive emails for only our ticketed events - dance parties, Satrang Film Festival, theatr </span>
    	</label> 
    
    	<label>
    		<input type="radio" name="GROUPINGS[13]" value="Partner: if you're from an organisation that would like to partner with us">
    		<span>Partner: if you're from an organisation that would like to partner with us </span>
    	</label>
    </p>

    Error on form submission is as follows:

    Admin notice: "Member: *default* receive all our emails on events" is not a valid Interest Group in Grouping "TYPE" on the list: <ListName>

    https://www.ads-software.com/plugins/mailchimp-for-wp/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Pav,

    Is this the default HTML generated by the “Add MailChimp field” dropdown? The generated HTML is malformed, the value attribute of the checkboxes should match the name of the group it stands for.

    If your list group names are “Member”, “Customer” and “Partner” the HTML should look something like this. The “Add MailChimp field” select box should automatically create the correct HTML for you though.

    <p>
    	<label>TYPE:</label>
    	<label>
    		<input type="radio" name="GROUPINGS[13]" value="Member">
    		<span>Member: *default* receive all our emails on events, meetings, news, etc </span>
    	</label> 
    
    	<label>
    		<input type="radio" name="GROUPINGS[13]" value="Customer">
    		<span>Customer: receive emails for only our ticketed events - dance parties, Satrang Film Festival, theatr </span>
    	</label> 
    
    	<label>
    		<input type="radio" name="GROUPINGS[13]" value="Partner">
    		<span>Partner: if you're from an organisation that would like to partner with us </span>
    	</label>
    </p>

    Hope that helps!

    Thread Starter pav1

    (@pav1)

    Hello Danny,

    thanks for your timely response.

    Indeed the “Add MailChimp field” select box should automatically create the correct HTML. And yes, that is the default generated.

    I checked the Mailchimp generated form which works fine – can be found at here. In the Mailchimp native form, the radio buttons are referenced by ordinal:

    <input type="radio" name="group[13]" value="1">
    <input type="radio" name="group[13]" value="2">

    ..etc as opposed to the:

    <input type="radio" name="GROUPINGS[13]" value="Member: *default* receive all our emails on events, meetings, news, etc">

    generated by the “Add mailchimp field”.

    makedesign

    (@makedesign)

    Bumping this ?? I also can’t get groupings to work. They return:

    MailChimp returned this error:
    "GROUP-TEXT-NAME" is not a valid Interest Group in Grouping "Send me information about ..." on the list: ACCOUNT-NAME

    The all-caps text is replaced by live-text for whatever list I’m trying to work with.

    I’ve also tried manually replacing the “GROUP-TEXT-NAME” with a numeric value for the grouping-ID in the MailChimp form and that doesn’t work either.

    makedesign

    (@makedesign)

    Followup – I sorted out the issue – My client was using apostrophes in his interest group names… ie: “Mens Fashion”.

    That breaks the potato.

    Is there a way to get a fix for using special characters in grouping names? Or maybe just switch to using numeric values (ie: “8” or “group_8” or “interest-8”) that’s a little more break-proof?

    Thanks! LOOOVING the plugin btw – it’s easily the best MailChimp plugin I’ve come across and I’m glad I paid for Pro!

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hey there,

    Glad you figured it out already, will take a close look at special character in Group names. It shouldn’t be too hard to take them into account. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Interest Groupings Error’ is closed to new replies.