Welcome to the LimeSurvey Community Forum

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

Responses Only Allowed Based on Previous Survey Answers

More
9 years 5 months ago #112885 by Jen2
Can LimeSurvey be used to incorporate a potluck item type question? Where a limited number of people can answer with the same response, i.e. at a potluck where you only want 2 people to be allowed with the answer of "chips", can you either have the survey check answers from previous surveys to disallow any future answers for that item because the "max" has been reached for that answer or to even remove that answer from the survey completely once the max number of "chips" responses for that question have been reached.

Thanks!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 5 months ago #112894 by tpartner
There is no built-in method to access results from previous surveys. I suppose you could do it with an AJAX call to a PHP file that queries the database but you would run into trouble with respondents accessing the survey at the same time.


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose