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

TOPIC: Dynamic dropdown list answer

Dynamic dropdown list answer 2 years 1 week 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 1 week ago #111630

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6199
  • Thank you received: 1374
  • Karma: 538
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 1 week ago #111643

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1805
  • Thank you received: 445
  • Karma: 111
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 => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.267 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form