Welcome to the LimeSurvey Community Forum

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

Resetting Dropdown list values

  • jawatroxion
  • jawatroxion's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago #131306 by jawatroxion
Resetting Dropdown list values was created by jawatroxion
Hi all :)

I have a few questions with drop down lists (Yes and No answers, mostly)
For example...
If I select YES for question-1, then only then question-3 will appear (which is another question with a drop down list YES or NO)
Say I select a "YES" for question-3. But then... I realize that the answer for question-1 is NO, so I change it.
This causes question-3 to disappear. However, I realize that, say if I choose "YES" again for question-1, question-3 still retains the
value I selected (in this case, a "YES").

Is it possible, that say whenever I change the answer for question-1, the value for question-3 is always reset back to (say) "Please choose"?

Thank you.

Alfian Abdul Halin
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 month ago #131339 by tpartner
Replied by tpartner on topic Resetting Dropdown list values
There is no way to do that without some, perhaps quite complicated, JavaScript.

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: jawatroxion
The topic has been locked.
  • jawatroxion
  • jawatroxion's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago #131343 by jawatroxion
Replied by jawatroxion on topic Resetting Dropdown list values
Ok then :) I'll work with what I can first as the survey is due tomorrow morning :)
Thanks !!!

Alfian Abdul Halin
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 1 month ago #131366 by DenisChenu
Replied by DenisChenu on topic Resetting Dropdown list values
In general : user prefer to keep value. Then we don't remove it before submitting. :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose