Welcome to the LimeSurvey Community Forum

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

Display only selected answers in following question

  • kratugoel
  • kratugoel's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 2 months ago #192855 by kratugoel
Hello

I have an array(Yes/No/Uncertain) question and I want to follow it up with a detailed array question but I want only those options to be displayed that were selected "Yes" in Q1. Is it possible to get a conditional sub question in a follow up question and if yes, how to do so?

Thank you
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #192861 by Joffm
Yes, of course:
Use the subquestion relevance of your array question.
And I always recommend to activate the survey, enter some well defined values and have a look at the answer table.
Here you see that a Yes/No array codes "Y"/"N"/"U".

So enter in your subquestion relevance something like Q1_SQ001=="Y"

Joffm

In my opinion the use of these predefined arrays is outdated.
Using a normal array you are much more flexible. (just three answer options "1=Yes", "2=No", "99=Uncertain", or whatever.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • kratugoel
  • kratugoel's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 2 months ago #192862 by kratugoel
Thank you for your quick reply. Is there some reading material on this topic? Unable to get the relevance right.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #192865 by Joffm
I always recommend to read the manual and
study the sample surveys
manual.limesurvey.org/Expression_Manager_sample_surveys

in this case this one:
manual.limesurvey.org/Expression_Manager...ubquestion_relevance

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: kratugoel
The topic has been locked.
  • kratugoel
  • kratugoel's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 2 months ago #192870 by kratugoel
Thank you for your assistance. IT WORKED !!!!

I had an additional query - Is it possible to add a comment box to Array questions? I have an "Other - Please specify" sub question and would in general like to add a comment box following all such questions. Is it possible to do so?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #192874 by Joffm
Though I do not like this at all (an "Other, specify" in an array question) here
is an example


File Attachment:

File Name: limesurvey...1-20.lss
File Size:24 KB


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: cdorin, kratugoel
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose