Welcome, Guest
Username: Password: Remember me

TOPIC: Looping over the results provided in a dynamic array?

Looping over the results provided in a dynamic array? 3 years 4 months ago #58413

  • stevorino
  • stevorino's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
First, massive compliments on LimeSurvey to all involved. It looks great. I am hoping to use it for a project, and I would like to know if it is possible to do something like this:

  • Collect a dynamic list of peoples names, lets say John, Jim, Sally.
  • Loop the survey and ask 3 questions about each person until all people have been covered

I have seen the example on the dynamic list, but nothing about doing something with the list once it is provided. Could I set a condition variable or something to implement this?

Is this possible, or will I need to write something myself?

Many thanks in advance for your help.
The administrator has disabled public write access.

Re: Looping over the results provided in a dynamic array? 3 years 4 months ago #58418

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
There is no true looping in LimeSurvey. You will need to create as many question subsets as allowed names and then show or hide the subsets with conditions.
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.
Moderators: ITEd
Time to create page: 0.116 seconds
Donation Image