- April 9, 2013 at 8:22 pm #3766metzler13Participant
I have no problem adding form submission data to my MailChimp lists, however is there a way to specifically add to the group within a list? I have registration forms for volunteers, one for campers (children) and another that is for general info from the website signup. My email list is one large list with groups within the list – each group is volunteers, children, general. Is it possible to use the Quform submission to add the name and email to the specific group within the list?April 10, 2013 at 3:37 pm #3770AllanSupport StaffApril 15, 2013 at 9:27 am #3831June 12, 2013 at 10:21 am #4804
Could you please explain – what do you mean saying “name of the group” and “list of groups”? Actual names (descriptive), names from the source code or IDs? Where to find these parameters?
What if I want to let the subscribers choose the groups by themselves using multiple choice field?
MarekJune 13, 2013 at 8:36 am #4815June 13, 2013 at 10:51 am #4821
Now it’s clear for me, thank you! Everything works except choosing the groups. The subscriber is added to Mailchimp, but with no groups selected. Maybe I should change other settings?
$emailType = 'html';
$doubleOptin = false;
$updateExisting = false;
$replaceInterests = false;
$sendWelcome = false;
MarekJune 14, 2013 at 11:45 am #4831June 14, 2013 at 12:07 pm #4836
$mergeVars = array(
'MERGE1' => $form->getValue('iphorm_1_1'),
'MERGE2' => $form->getValue('iphorm_1_2'),
'GROUPINGS' => array(
array('name' => 'Jaka firme reprezentujesz?', 'groups' => $form->getValue('iphorm_1_4')),
array('name' => 'Jaki asortyment Cie interesuje?', 'groups' => $form->getValue('iphorm_1_6')),
array('name' => 'Ktory biuletyn chcesz dostawac?', 'groups' => 'Darmowe raporty i e-booki (nieregularnie)')
The 3rd grouping (Ktory biuletyn chcesz dostawac) works fine, but the previous two – don’t.
Both iphorm_1_4 and iphorm_1_6 are Multiple Choice fields.
I hope you’ll be able help me 🙂
MarekJune 15, 2013 at 9:01 am #4852June 15, 2013 at 11:06 am #4863
I’ve double checked and the names of the groups are exactly the same as in Mailchimp. I’ve replaced $form->getValue(‘iphorm_1_4′) with one of the options (‘Sklep stacjonarny’) and then it works.
MarekJune 15, 2013 at 11:18 am #4864
Sorry Ally, my mistake! The fields are not Multiple Choice, they are both Checkboxes!
I have changed one of them to Multiple Choice and then everything works.
Unfortunately, I need Checkboxes, so the problem still exists.
MarekJune 18, 2013 at 8:29 am #4886June 18, 2013 at 8:37 pm #4911
It works, you’re great! Thanks a lot! 🙂
- You must be logged in to reply to this topic.