Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

linked question groups or separate surveys?!??

More
7 years 8 months ago #139358 by AnDA0
Hi there,
I would like to link 6 question groups with each other, in the following way:
When question group 1 was completed by a particular number of people (say 20), then I want the 21st person who starts the survey to automatically only see question group 2. When question group 2 was completed by another 20 people, then I want the 41st person who starts the survey to automatically only see question group 3 etc. ...

Is that possible??
This way, I would like to avoid conducting 6 separate surveys...also to avoid 1 person completing multiple question groups.
I'd appreciate any kind of help!
Thanks in advance!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 7 months ago #139375 by tpartner
Replied by tpartner on topic linked question groups or separate surveys?!??
There is no way to automatically do this without complex AJAX calls, etc. (when taking a survey, there is no direct access to previous data).

It's probably easier to monitor the data yourself and change the group relevance as you get the required number of responses.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
7 years 7 months ago - 7 years 7 months ago #139377 by AnDA0
Thanks a lot, tpartner. I expected it to be too difficult.
Any chance you can explain the relevance system a bit? So is it possible to show certain question groups and not others ?!
And also:
Is it possible to then change the setting WHILE the survey is ACTIVE??
Last edit: 7 years 7 months ago by AnDA0.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 7 months ago #139378 by tpartner
Replied by tpartner on topic linked question groups or separate surveys?!??

So is it possible to show certain question groups and not others ?

Yes, you can place relevance on groups. So, if you want to hide a group, you would put in a relevance statement that always returns false. Something like:
Code:
1 == 2



Is it possible to then change the setting WHILE the survey is ACTIVE?

Yes, you can change relevance while the survey is activated.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
7 years 7 months ago #139380 by AnDA0
Fantastic - that will do :)
Thanks a lot for your quick response and the explanation!!!!
Really appreciate it!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose