Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Hi,

    You’ll need to add the HTML code for those form fields yourself via the Hidden Fields field on the widget settings.

    When you follow the tutorial to grab the information requested by the plugin ( https://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/install/#mailchimp ), you’d want to grab the extra code at that point.

    Thread Starter Davide Roccato

    (@davidroccato)

    Hi Brandon,

    Thank you, there is lots of code but I suppose this is the only code I should insert in the hidden fields field, right?

    <div class="mc-field-group input-group">
        <ul><li><input type="checkbox" value="1" name="group[17673][1]" id="mce-group[17673]-17673-0"><label for="mce-group[17673]-17673-0">RSS Daily</label></li>
    </ul>
    </div>
    <div class="mc-field-group input-group">
        <ul><li><input type="checkbox" value="2" name="group[17677][2]" id="mce-group[17677]-17677-0"><label for="mce-group[17677]-17677-0">RSS Weekly</label></li>
    </ul>
    </div>
    <div class="mc-field-group input-group">
        <ul><li><input type="checkbox" value="4" name="group[17685][4]" id="mce-group[17685]-17685-0"><label for="mce-group[17685]-17685-0">Newsletter</label></li>
    </ul>
    </div>

    As you know, is there a way to make one group checked by default? Because if they forget to check one, they won’t be subscribed to anything.

    Thanks.

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Hi David,

    You can add all of that. The only required part are the <input type... and <label> tags. The rest of it are either styling assists (the divs) or to add the checkboxes as part of a list (the ul and li elements).

    You can add checked=checked on the default one, e.g.
    <input type="checkbox" value="4" name="group[17685][4]" id="mce-group[17685]-17685-0" checked="checked">

    Cheers!

    Thread Starter Davide Roccato

    (@davidroccato)

    Awesome, it works perfectly.

    I’ve inserted just the input codes, each one wrapped with divs, so they appear one below the other.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Does it work with Mailchimp interest groups?’ is closed to new replies.