Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] saving multiple values userdb.mail_list



hello all,

I'm sure there's several ways to  solve this problem, but I can't see to 
figure out any one of them. I'd like my users to be able to select one or 
more mail  lists to automatically join upon purchase.

Out of the box, interchange happily writes a yes/no value to 
userdb.mail_list, based on the value of the mail_list form widget on 
checkout.html.

If I try to submit multiple values for mail_list (using checkboxes or 
<select multiple>), it only records the first value in userdb.

I tried changing the value of CGI->{mail_list} in profiles.order, but it 
seems preferences are written before then.

So, any hints on how I can get both these form values into one field?

Thanks,

- Andrew

               >>> Andrew Waegel Benevolent Technologies <<<
               >>> 510 527 6116  asw@benevolent-tech.com <<<

_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: