Check out the LimeSurvey source code on GitHub!

dynamic arrays?

More
6 years 2 weeks ago - 6 years 2 weeks ago #56725 by edortix
I need to add a question in my survey... but I guess there is no an appropiate question type for my need. What I need is an array of questions whit different question types and the ability to add new rows in a dyamic way.





is this possible? how?

thank you
Attachments:
Last Edit: 6 years 2 weeks ago by edortix.

Please Log in to join the conversation.

More
6 years 2 weeks ago #56729 by tpartner
You cannot have these question types in an array but you can simulate it with something like this reasonably complex workaround - docs.limesurvey.org/tiki-index.php?page=...stion_types_in_array

As for the addition of rows, you would need to create all of the neccessary rows and then hide or show them with more JavaScript.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 2 weeks ago #56740 by Mazi
Such a mixture of question types isn't possible at Limesurvey. The easiest solution is to splitt this up into several question, maybe having an initial question "How many items would you like to input" and then use conditions to show the split up questions X times.


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.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form