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!
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?
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.
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!
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
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!