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

TOPIC: I want a dynamic pick-list, driven by prior user responses

I want a dynamic pick-list, driven by prior user responses 4 years 11 months ago #71438

I am using LimeSurvey for an application that is not really a survey. I want one of the questions to have the pick-list answer "Add New Category", which will turn on the following question prompting for that category (short text value). The next person filling out the survey would get the same pick-list PLUS the new value added by the prior person. The list would start out empty. Does anyone know if there is a way to do this besides messing with the underlying tables? Thanks in advance.
The administrator has disabled public write access.

I want a dynamic pick-list, driven by prior user responses 4 years 11 months ago #71451

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9594
  • Thank you received: 1375
  • Karma: 390
Hello,

You can use a ajax request on a php file to fill a pseudo-select input.

For the category question : use a small text question and use a ajax request to construct a select box with autoupdate the input.text box.

Or you can use an autocomplete jquery plugin too : jqueryui.com/demos/autocomplete/

Some work.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

I want a dynamic pick-list, driven by prior user responses 4 years 10 months ago #71583

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
Have a look at docs.limesurvey.org/Workarounds%3A+Manip...wers_for_text_inputs for a (different) example.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.
Time to create page: 0.264 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form