Situation: I have one question (assume Ques A) that is “select_multiple” and consists of 6 options. Next question (Ques F) is a filter question based on Ques A. Now the conditions for the filter are as follows:
-
If Ques A’s option 1, option 2, or option 3 was selected, then in Ques F shows option 2, option 3, option 4.
(Note: Being multiple choice type question, op 1, op2, and op3 can be in selected either individually or in combination as well. For example, op1 and op2 or all op 1, op 2, and op 3 and so on.) -
If Ques A’s option 5 was selected, then in Ques F shows only option 1
-
If Ques A’s option 6 was selected, then in Ques F shows only option 5
-
If Ques A’s option 2 and 5 was selected, then in Ques F shows only option 1, option 3, and option 4.
-
If Ques A’s all options were selected, then in Ques F shows all options.
Question: How can I use “filter_choice” in such way that if my previous question’s answer are in multiple choice format, it can filter properly. Major challenge is when multiple options have same options as filter. I have highlighted 5 different cases above. All 5 test cases has to be considered as one question’s situation and rather than getting 5 solutions, I want one solution that could satisfy all 5 test cases.