I have a checkbox field with 4 possible options: 1, 2, 3, 4. (fieldname cb_volunteer_type)
A user can select multiple options.
I need a way to take that information and populate four individual fields so that I can pass that data to another application. (cb_volunteer_type_1,cb_volunteer_type_2, cb_volunteer_type_3, cb_volunteer_type_4)
In the database, it's stored as 1|*|2|*|3|*|4. I can write MID sql statements to extract the data, I can't however, figure out how to make CB update the individual fields, for example:
A user selects volunteer type 1 and 3. The cb_volunteer_type field is now set to 1|*|3.
When the CB Auto Action is done, this would be the final result:
cb_volunteer_type_1 = 1
cb_volunteer_type_2 = 3
cb_volunteer_type_3 = null
cb_volunteer_type_4 = null
Anyone have any ideas about how to do this in CB Auto Actions? Of course, if there is a better way to do this, I'm up for that as well. The only requirement is that I be able to store each item in its own database field.
Thanks