Welcome to the LimeSurvey Community Forum

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

Reset survey (delete answers) if quota are met

  • jan.philipp.thomeczek
  • jan.philipp.thomeczek's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 1 week ago #252320 by jan.philipp.thomeczek
Reset survey (delete answers) if quota are met was created by jan.philipp.thomeczek
Hello everyone,
I would like to reset the whole survey if the quota are met to avoid that it counts into the limit.

A sort of workaround that I have is to have a text message with the reset button which is shown to the defined group. However, I would like to delete all answers automatically if the quota are met. Is that possible?

Thanks in advance

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252322 by DenisChenu
Replied by DenisChenu on topic Reset survey (delete answers) if quota are met
Think you can delete the response in a plugin : manual.limesurvey.org/AfterSurveyQuota

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.

Please Log in to join the conversation.

  • jan.philipp.thomeczek
  • jan.philipp.thomeczek's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 1 week ago #252323 by jan.philipp.thomeczek
Replied by jan.philipp.thomeczek on topic Reset survey (delete answers) if quota are met
Thanks, but I can't install that on a Limesurvey GMBH Server, right?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252328 by holch
You can't install it anywhere, because this "plugin" doesn't yet exist. :-)

You would have to build it.

But you are half right: Afaik you can't install any plugins yourself if you are using the SaaS service provided by Limesurvey GmbH. However, they will install plugins (not sure if they will install all plugins depending on the risk they see with the plugin) for a fee, as far as I know.

So if I understand you right, your issue is that with the SaaS service people that are screened out still count as 50% of a response, correct?

I can understand that if you have a low incidence rate and send your invitations quite untargeted, then the screenouts can eat into your response volumen. But I am not sure if deleting these answers will really reset this. never tried and tested it. Does it work with your current approach?

I never really understood the necessity for the 0,5 charge for started surveys. But probably someone found a way to get infinite responses by just screening people out at the end so they wouldn't be marked as finished surveys and thus didn't count into the budget. And this was the solution they came up to prevent that. Just a wild guess though.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • jan.philipp.thomeczek
  • jan.philipp.thomeczek's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 1 week ago #252329 by jan.philipp.thomeczek
Replied by jan.philipp.thomeczek on topic Reset survey (delete answers) if quota are met
Thanks for your response. I confirmed with the customer service that responses don't count if the users reset them. I think it would make perfect sense to just not count/write responses from people who are in the segments you filter out with your quota.

My workaround is now to, instead of using the quota, show a text without any buttons (you can't go back or forth) and the suggestion to delete your responses using a button.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252330 by holch

I think it would make perfect sense to just not count/write responses from people who are in the segments you filter out with your quota.


Yes, this would make sense. But then some "specialists" will do the following: Create a survey that will screenout EVERYONE on the last page and you would have infinite responses, because the responses up to that point are saved in the database. You just create your own alternative "end page" with a screenout and voila, nothing would be discounted from your response count and you still have collected all the data you wanted. :-)

That's why we can't have nice things.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • jan.philipp.thomeczek
  • jan.philipp.thomeczek's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 1 week ago #252331 by jan.philipp.thomeczek
Replied by jan.philipp.thomeczek on topic Reset survey (delete answers) if quota are met
That doesn't work. There are "half" responses that are counted if less than 0.5 are answered. And my point was to have an option to reset all answers, which doesn't count then, but also, no data would be stored ;-)

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252333 by holch
Yeah, I know! That is why started answers are counted as 0,5.

I understand that you are not one of those "Freibiergesichter", but I am just saying why they probably had to go down the route of 0,5 for unfinished answers including screenouts.

In your case, as you want to delete the uncomplete responses, you wouldn't have the data anyway. Your case is different. But I don't know any way of clearing responses the way you want to.

You could delete the answers via expression script, but I doubt that this would reset the count, but rather just give you empty responses that still count.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252363 by tpartner
Replied by tpartner on topic Reset survey (delete answers) if quota are met
Have the quota redirect to a PHP page that uses the API to remove the response.

- api.limesurvey.org/classes/remotecontrol...thod_delete_response

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose