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

More
5 years 5 months ago #71438 by databasemike
databasemike created the topic: I want a dynamic pick-list, driven by prior user responses
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.

Please Log in to join the conversation.

More
5 years 5 months ago #71451 by DenisChenu
DenisChenu replied the topic: I want a dynamic pick-list, driven by prior user responses
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
5 years 5 months ago #71583 by Mazi
Mazi replied the topic: I want a dynamic pick-list, driven by prior user responses
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'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now