Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all articles
Browse latest Browse all 17529

Hide a ListRadio option based on the answer to previous ListRadio question. - by: jackuars

$
0
0
So my first question is like this

Q1. Which product do you use most often? (ListRadio)
1. product A
2. product B
3. product C (if the user selects this)
4. product D

Q2. Which product will you never consider using? (ListRadio)
1. product A
2. product B
3. product C (this option should not appear here)
4. product D

If the user selects "product C" in Q1, then that option should not appear in Q2. Similarly if he selects "product B" in Q1, the option should not appear in Q2 and so on.

I tried this earlier.

1.{if( Q1.NAOK != '1', 'product A', '' )}
2. {if( Q1.NAOK != '2', 'product B', '' )}
3. {if( Q1.NAOK != '3', 'product C', '' )}
4. {if( Q1.NAOK != '4', 'product D', '' )}

as answer options to Q2, but this only hides the answer text in Q2 if not selected in Q1 but not the radio button. It also looks clunky.

Viewing all articles
Browse latest Browse all 17529

Trending Articles