Hi all - I’m attempting to create a calculation whereby a select multiple question is auto-populated based on how the previous question is completed.
E.g., If Option A is selected for Question 1, I want Option A1 and Option A2 to be automatically selected in Question 2 (see screenshots below). (The calculation works fine when ‘option_a1’ alone is used in the calculation, but there seems to be an issue with saying “‘option_a1’ and ‘option_a2’” in the expression.)
Welcome to the community, @lzlzlz! Could you also share with the community sample questions and choices and the conditions that should show when certain options in question 1 are selected? Correct me if I am correct, question 1 seems to be a select_one question type while question 2 seems to be a select_multiple question type.
You need to correct your syntax in thd calculation to: if(…, “option_a option_b”, …). select_multiple values are stored together in a string, separated by one blanc, (in the order if the choices list).