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
  • saifshaikh's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 6 months ago #158574 by saifshaikh
can we hide / disable subquestion of an array question based on answer option of previous List(Radio) based question. survey attached.

File Attachment:

File Name: limesurvey...8173.lss
File Size:24 KB


eg. If Q1 = 1 than in Q2 only Subquestion 1 should be displayed/enable rest all hidden/disabled.


Thanks
Saif
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 6 months ago #158584 by Joffm
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

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • saifshaikh
  • saifshaikh's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 6 months ago #158586 by saifshaikh
Thanks a lot Joffm, I am pretty new to lime survey, hence learning
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 6 months ago #158608 by tpartner
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:

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.

Lime-years ahead

Online-surveys for every purse and purpose