- Posts: 21
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Hide/Disable Subquestion of Array Question based on List - Radio Question
- saifshaikh
- Topic Author
- Offline
- Junior Member
Less
More
6 years 6 months ago #158574
by saifshaikh
Hide/Disable Subquestion of Array Question based on List - Radio Question was created by saifshaikh
can we hide / disable subquestion of an array question based on answer option of previous List(Radio) based question. survey attached.
eg. If Q1 = 1 than in Q2 only Subquestion 1 should be displayed/enable rest all hidden/disabled.
Thanks
Saif
eg. If Q1 = 1 than in Q2 only Subquestion 1 should be displayed/enable rest all hidden/disabled.
Thanks
Saif
Attachments:
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12713
- Thank you received: 3926
6 years 6 months ago #158584
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Hide/Disable Subquestion of Array Question based on List - Radio Question
Hello, saifshaikh
short answer: yes, you can.
You would have known it if you had read the manual and studied the sample surveys.
manual.limesurvey.org/Expression_Manager_sample_surveys
Okay, just set the relevance of the subquestions Q2 to the desired result of Q1.
Furthermore set the relevance of the question Q2, that it is only displayed if something of Q1 is clicked.
!is_empty(Q1)
Best regards
Joffm
short answer: yes, you can.
You would have known it if you had read the manual and studied the sample surveys.
manual.limesurvey.org/Expression_Manager_sample_surveys
Okay, just set the relevance of the subquestions Q2 to the desired result of Q1.
Furthermore set the relevance of the question Q2, that it is only displayed if something of Q1 is clicked.
!is_empty(Q1)
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The topic has been locked.
- saifshaikh
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
6 years 6 months ago #158586
by saifshaikh
Replied by saifshaikh on topic Hide/Disable Subquestion of Array Question based on List - Radio Question
Thanks a lot Joffm, I am pretty new to lime survey, hence learning
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
6 years 6 months ago #158608
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Hide/Disable Subquestion of Array Question based on List - Radio Question
You can place relevance on array sub-questions -
manual.limesurvey.org/Adding_answers_or_subquestions
So, something like this for all sub-questions except 1:
So, something like this for all sub-questions except 1:
Code:
Q1 != '1'
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: saifshaikh
The topic has been locked.