Welcome to the LimeSurvey Community Forum

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

Survey quotas - set survey to "finished"

  • ch123
  • ch123's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 1 month ago - 4 years 1 month ago #194844 by ch123
Hi. Hope that this forum can help me again :)

I am using a survey with quotas and the setting "Allow user to modify his last answers before terminate survey". If a participant now selects the "wrong" answer, the quota text is shown and he could go back to change his answer. But if he doesn't do that and ends the survey, his answers will be marked as "not finished" (which actually makes sense). However, he will now receive my reminder emails - I am using an automatic cronjob for that. Is it possible to prevent this? And still set the survey to "finished" when a quota has been reached?

I would be happy about any possible solutions!
Last edit: 4 years 1 month ago by ch123.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194851 by tpartner
Replied by tpartner on topic Survey quotas - set survey to "finished"
It seems to me that this is a bug that should be reported.

I think at the very least the token uses left value should be decremented if they have participated and been screened out.

A short-term fix may be to have the quota redirect to a PHP script that uses the API to modify the token table.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • ch123
  • ch123's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 1 month ago #194867 by ch123
Replied by ch123 on topic Survey quotas - set survey to "finished"
Okay, thanks for your help! I will report it as a bug then :)

Do you have any helpful links for your PHP script idea? This is probably beyond my knowledge but maybe I can read up on it a bit...
Thank you anyway!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194882 by tpartner
Replied by tpartner on topic Survey quotas - set survey to "finished"

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • ch123
  • ch123's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 1 month ago #194908 by ch123
Replied by ch123 on topic Survey quotas - set survey to "finished"
Thank you, tpartner.
I will try to find a solution :)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose