Hi all! I currently have 4 multiple choice questions, each requiring up to 2 answer selections with "none of the above" being an exclusive answer selection, and I want the answer selections for all 4 questions (ranging from 0 ~ 8 in total in this case) to be piped into a final question that asks participants to select their final top 3 from.
I am struggling with the JS code for this case. Currently it only works when exactly 2 answers are selected for each of the 4 MC questions, and would pipe in blank spaces for when 1 answer is selected or when "None of the above" is selected for any one of those questions.
Here's what I did:
- I added the following pieces of JS code to each respective multiple choice question, and checked "variable naming" under "Recode values" for all questions :



