I have a list radio question (Q1) with answers (A1-A9), and I would like to filter Q2's (also a list radio) answers based on the selection for Q1. For example, in Q2 I want to only show B2, B4, B8 if A1 is chosen in Q1. I've seen some previous posts on this, but they seem dated.
You can create a hidden multiple question, set the desired values by an equation and use this multiple question as array filter of the second single question
Should those snippets go in the question validation equation field for Q1? Should the input value for array filter in Q2 be "MQ2"? Should the answer codes for Q2 be SQ001, SQ002, etc?
I have spent all day trying to do exactly as described but its busted. Here is what I did to no avail....
Q1 (added {Q1M_SQ002=if(Q1 == "A1", "Y", "")}'s to question validation equation field)
Q1M (set as multiple choice hidden)
Q2 (added same fields with same codes as Q1M.....set array filter to Q1M)
Nada. I either get nothing displayed or everything displayed in everything I tried. I checked the logic on Q1M and it says there is an error in the questions validation. If I change it to not hidden that error goes away. I have also tried "Equation" type and still no good.
Did you import the attached sample in the other thread?
You see the method and can adapt to your needs.
If you provide your entire logic I will see if I get time to work it out.
I attach the sample again
Ok, I see how the structure works now! I realized though it only works when Q1 and Q2 are not shown on the same page at the same time. I can live with that. Thanks!!