Check out the LimeSurvey source code on GitHub!

Looping over the results provided in a dynamic array?

5 years 11 months ago #58413 by stevorino
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.

Please Log in to join the conversation.

5 years 11 months ago #58418 by tpartner
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.

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.

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