Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Dynamic dropdown list answer

Dynamic dropdown list answer 2 years 3 months ago #111622

  • bonifatius
  • bonifatius's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hi,

is it possible to make a dynamic drop down list answer based on previous answered questions using the current version(2.05) ? for example, when the user has chosen a country at the previous questions, the next questions will just show the states or provinces of that country. i've read the Expression Manager and relevance manual but i can't find where i can put the EM or equation for this problem.

thanks.
The administrator has disabled public write access.

Dynamic dropdown list answer 2 years 3 months ago #111630

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6566
  • Thank you received: 1477
  • Karma: 578
There are many examples in the forum of dynamically filtering answers with JavaScript but the easiest solution is to create a different "state" question for every country and hide/show them with conditions or relevance.


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Dynamic dropdown list answer 2 years 3 months ago #111643

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1894
  • Thank you received: 467
  • Karma: 118
Hi,
you may have a look here and here
BenoƮt

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The administrator has disabled public write access.
Time to create page: 0.205 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form