
Here's what I'm doing... I'm building a form for my customers to subscribe to my Mailchimp list. I only use one list, but typically email to segments of it. Those segments are determined by text fields in the list that either contain an "X" or don't (as Mailchimp doesn't have a logical/Boolean field type) I have four lists (segments) within my list, and people may want email from multiple segments. Inasmuch, on my Coffeecup form, I'd like to display these 'segments' as checkboxes, so my users can just 'check' the list(s) (segments) they would like to subscribe to. So here's what I'm wondering...
1) How can I programmatically change the checkbox returns on the form into X's to pass to Mailchimp? I've setup hidden variables on the form to hold the X's, but I don't know how to get them there. I'm guessing that a java script would do the trick - evaluating the results of the checkboxes and stuffing X's accordingly - but I'm not a java guy. Anyone help out?
2) Can I do the same thing in reverse, as an 'unsubscribe' - perhaps based on a subscribe/unsubscribe radio button on the form?
Thanks in advance!