• Resolved delawaregrad

    (@delawaregrad)


    Hi. This is an awesome plugin. I am using with Contact Form 7 and DB Extension.

    My client decided to add groups to Mail Chimp and I’m having trouble adding the groups to the CF7 form. I saw in your FAQs about using GROUPINGS[XXXX][], but I’m missing how I can add the “mc4wp” to that so it’s added properly to the Mail Chimp list.

    I tried:
    <input type=”checkbox” name=”GROUPINGS[XXX][]” value=”Group 1″ />
    Replacing the XXX with the group name and also tried ID. I don’t know where to put the “mc4wp”

    Any help is appreciated greatly!

    http://ww.wp.xz.cn/plugins/mailchimp-for-wp/

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

    (@dvankooten)

    Hi there,

    To use groupings in your CF7 forms, you should be able to use HTML like this.

    <input type="checkbox" name="mc4wp-GROUPINGS[XXX][]" value="Group 1" />

    Hope that helps!

    Thread Starter delawaregrad

    (@delawaregrad)

    Thanks for the quick reply. I’ve actually tried that already. I can’t get the checkboxes to display on the page to even see if they’ll add the data to the MC list.

    This is the relevant part of what I have in the CF7 form:
    <p><b>*First Name</b>
    [text* mc4wp-FNAME] </p>
    <p><b>*Last Name</b>
    [text* mc4wp-LNAME]</p>
    <p><b>*Email</b>
    [email* mc4wp-EMAIL] </p>
    <p><input type=”checkbox” name=”mc4wp-GROUPINGS[5089][ ]” value=”Category” /> Select:</p>

    I’m using value=”” as the name of the group; the ID of 5089 is correct. I had a different Group name originally, which was 3 words, but I changed it to ‘Category’ to see if that was a problem.

    Any ideas?

    Plugin Author Danny van Kooten

    (@dvankooten)

    Can you create me a temporary admin account on hi @ my full last name . com (website listed in my profile). I might have to run some tests and implement a fix in the next update.

    From a quick look, the HTML you’re using looks correct.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi there,

    Use the following HTML.

    <p>
    	<label>Category:</label>
    	<label>
    		<input type="checkbox" name="mc4wp-GROUPINGS[5089][]" value="Parent of a player">
    		<span>Parent of a player </span>
    	</label> 
    
    	<label>
    		<input type="checkbox" name="mc4wp-GROUPINGS[5089][]" value="Alumni">
    		<span>Alumni </span>
    	</label> 
    
    	<label>
    		<input type="checkbox" name="mc4wp-GROUPINGS[5089][]" value="Supporter">
    		<span>Supporter </span>
    	</label>
    </p>

    PS: you can use the “add field” tool in MailChimp for WP > Forms to have the HTML generated for you. All you have to do then is copy this HTML to your CF7 form template and prefix the name attribute with mc4wp-. 🙂

    Hope that helps!

    Thread Starter delawaregrad

    (@delawaregrad)

    Perfect!

    Thanks for the other MC option – I did try that, but I wanted to use Contact Form 7 if possible.

    Awesome support. That alone is worth the pro version.

    Thank you

    Plugin Author Danny van Kooten

    (@dvankooten)

    No problem Julie, glad I could help.

    If you have a minute, a review on the plugin would make me really happy.

    Thanks!

    Hi Danny,

    When we use a hidden field in a CF7 form which we populate via jQuery based on checked checkboxes we receive a Confirm subscription mail for a list where the group ID doesn’t belong to.

    We use the following hidden field:

    <input type="hidden" name="mc4wp-GROUPINGS[5305]" id="mc-groups" value="" />

    Hope you can help, thanks in advance!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Group integration with CF7’ is closed to new replies.