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 7 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 7 months ago #71451

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

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

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • 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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.767 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form