Welcome to the LimeSurvey Community Forum

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

getting quota counts

  • first
  • first's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 1 month ago #211804 by first
getting quota counts was created by first
Hello everyone. Can we access the current quota counts and target quota counts a particular item inside the survey?  For example I have quota defined on Gender question. I want to show respondent how many Males have answered the survey so far and how many Males are allowed to participate in survey.  Another use case will be to allocate respondent to differnt groups based on current quota counts. 

Thanks

Survey Designer and Programmer
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 month ago #211806 by tpartner
Replied by tpartner on topic getting quota counts
You cannot access previous results with the core code but Denis has an extension for that - gitlab.com/SondagesPro/ExportAndStats/getStatInSurvey .

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • first
  • first's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 1 month ago #211808 by first
Replied by first on topic getting quota counts
Thanks for the update. It is very common requirement in surveys. So just two function.. one is to get current quota count and other to get target counts would be very helpful to have . We can write all sorts of logics on top of that. 

Survey Designer and Programmer
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 month ago #211814 by DenisChenu
Replied by DenisChenu on topic getting quota counts
Included in core plugin in 4.4.

manual.limesurvey.org/StatFunctions

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose