I have a dataset that I have imported as a contact list into my survey. There is a string variable called “tool_list”, which is a comma separated list of tools for each recipient of the survey. For example, the value of tool_list could be “tool A, tool B, tool C, tool D” or “tool A, tool E”, etc. I want to use custom javascript to split the string, and then create multiple choice options for a question based on the new strings.
For example, if a person had the tool_list “tool A, tool B, tool X, tool Z”, I want them to see a survey question with the multiple choice options a) tool A b) tool B c) tool X d) tool Z. They should be able to select as many options as they would like to.
One thing that complicates this task is that the length of the lists varies person to person.
Thank you for any comments or ideas!! :)