Looking at the code, I think only one mailchimp list is saved when submitting the webform, whichever one comes last. I would like the ability to have multiple lists updated with the same form.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | save_multiple_lists_on_submit-1185234.patch | 1.68 KB | mattcasey |
| #5 | save_multiple_lists_on_submit-1185234.patch | 1.68 KB | mattcasey |
| #3 | save_multiple_lists_on_submit-1185234.patch | 1.73 KB | mattcasey |
Comments
Comment #1
mattcasey commentedTurned out to be pretty easy to fix, using an array instead of a string for $mailchimp_list. I'll try to submit a patch
Comment #2
jrockowitz commentedmattwad, I just ran into this issue could you please post your fix (ie patch or code). Thanks.
Comment #3
mattcasey commentedHere ya go.
Comment #4
jrockowitz commentedThe patch works great, thanks.
There is a very minor indentation issue but the maintainer should be able to commit it.
Comment #5
mattcasey commentedRerolled with correct indentation and also removed a redundant comment.
Comment #6
mattcasey commentedGah! I missed one tab space.
Comment #7
blackdog commentedGood catch, committed to 6.x & 7.x. Someone please test the 7.x code.