Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How can I suppress a ranking option based on response to previous question?

More
2 days 22 hours ago #272608 by blocka
Please help us help you and fill where relevant:
LimeSurvey version: 5.6..8
Own server or LimeSurvey Cloud: Own
Survey theme/template: vanilla
==================
I have a ranking type question where I want to hide one of the options based on the response to a previous question.

I've attached the survey. The requirement is: to make option AO05 in question G06Q14 to be conditionally displayed: it should only be an option if  question G03Q04 == AO02
 

Please Log in to join the conversation.

More
2 days 14 hours ago #272610 by Joffm
Hi,
you do it "the usual way" 
  • insert a hiddden multiple question (HM),
  • insert a hidden equation (eqHM)
  • preset the values of HM by the hidden equation
  • set the array filter of your ranking on this hiddden multiple question.

In your case you only have to take into account "option 5".
So the multiple qurestion has only one subquestion with code "AO05"
and the equation contains only this
{HM_AO05=if(G03Q04=="AO02","Y","")}



Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
6 hours 29 minutes ago #272613 by blocka
Life saver, thank you for that, works like charm!

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose