Welcome, Guest
Username: Password: Remember me

TOPIC: dynamic arrays?

dynamic arrays? 3 years 9 months ago #56725

  • edortix
  • edortix's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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.

dynamic_array.png




is this possible? how?

thank you
Last Edit: 3 years 9 months ago by edortix.
The administrator has disabled public write access.

Re: dynamic arrays? 3 years 9 months ago #56729

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4372
  • Thank you received: 830
  • Karma: 381
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: dynamic arrays? 3 years 9 months ago #56740

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5426
  • Thank you received: 307
  • Karma: 252
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.112 seconds
Donation Image