Support » Plugin: MailChimp for WordPress » Sub Groups field markup is hidden

  • Resolved ZigPress

    (@zigpress)


    I have successfully connected to my correct Mailchimp list, and have generated the right text fields for my widget.

    However when I try and add a subgroups field, it generates a hidden field, not a select box, with all possible group values in it, comma separated.

    I need a select box so the subscriber chooses one group. Do I need to code the HTML manually? I don’t mind if that’s the case, just want to use the right method.

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

    [ No bumping please. ]

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

    (@hchouhan)

    Hello ZigPress,

    Did you use our “Add Field” tool to add the “Interest Group” fields to your form? The code generated depends on what type of field you have created in your MailChimp.com List. If you have created hidden group there then the code generated by our plugin will be something like:

    <input type="hidden" name="GROUPINGS[4989]" value="12,123,1234,">

    If you don’t want this, then you would need to add your own HTML to show the options as either checkbox or select field.

    Yeah I think it must have been something about the way my client set up the mailing list fields. But as I was running out of time in the end I experimented by manually adding a select box with the same name and it worked perfectly, so thanks for a great plugin.

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey ZigPress,

    Thank you for confirming. I’ll mark this as resolved but if you run into any other issues feel free to create a new request and I’d be happy to assist.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sub Groups field markup is hidden’ is closed to new replies.