I’ve almost, but not quite, been able to find JS to accomplish this; I’m not as familiar as I would like to be.
In short, I have a very long list of 93 options in a multiple choice question with display logic based on a prior question to make it more manageable for the respondent. They can choose up to 5, although that’s probably rare. I want to split the selected choices into separate embedded data fields (i.e. Q14 = Blue, Black, Green would become color1=Blue color2=Black color3=Green).
I want to use those up-to-5 options in a subsequent question which will form the basis of a loop and merge block; I don’t want to use the first question because I wind up with hundreds of variables with block questions for each of the 93 options. I want no more than 5 sets of variables for the loop and merge block.
How can I split the selected choices into separate fields with JavaScript?