Welcome to the LimeSurvey Community Forum

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

How to hide the array select element

  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 5 months ago #143167 by mikezhangsky
How to hide the array select element was created by mikezhangsky
I have set to arrayText question , like the picture,

if i select Activities "Not2", will the Dropdown elements of Status only show " In progress" and "Completed" ,and hide "Not started"
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 5 months ago #143173 by tpartner
Replied by tpartner on topic How to hide the array select element
You cannot hide options in a select element, you can only remove them. So, I think you will need to insert two drop-downs in column-2 and display the appropriate one based on the answer in column-1.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 5 months ago #143176 by mikezhangsky
Replied by mikezhangsky on topic How to hide the array select element
thank for you reply ,tp,
Would you please give me an example ? I do not know how to write..
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 5 months ago #143179 by tpartner
Replied by tpartner on topic How to hide the array select element
I can't give an example without more information.

What LimeSurvey version?
How do you insert the dropdowns?
Can you attach a sample survey containing only that group?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose