Welcome to the LimeSurvey Community Forum

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

Using quotas to prevent new entries

  • mstein
  • mstein's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 7 months ago #123226 by mstein
Using quotas to prevent new entries was created by mstein
Hi, I'm new to LimeSurvey and we're having trouble finding a way to prevent that, once we have, say, 150 respondents, the questionnaire to keep accepting new entries. We'd like to redirect LimeSurvey, once we've achieved the referred quota, to another page.

I've seen this question here somewhere, but could not find a suitable answer.

Thanks
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #123252 by holch
Replied by holch on topic Using quotas to prevent new entries
I think this is a tricky one. You basically would need to create a question with just one answer I guess. Then you could set a quota on this. I am not aware of a way to close a survey when it has reached a certain number of total completes.

Would be a good feature I think.

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: mstein
The topic has been locked.
More
8 years 7 months ago #123254 by gpmorgado
Replied by gpmorgado on topic Using quotas to prevent new entries
I have the same problem! A way to close a survey when it has reached the quota would be a good feature!
The following user(s) said Thank You: mstein
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #123257 by holch
Replied by holch on topic Using quotas to prevent new entries
Well, I think it would be good to make a feature request in the bug tracker and link it here, so everyone can vote for it, so chances get higher it will be implemented.

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

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #123262 by DenisChenu
Replied by DenisChenu on topic Using quotas to prevent new entries
I think you can use a "single choice" hidden question with default set to "quota".
Put this question in first group (only one question) and set quota to this question.
Then when user click next at welcome page is go to quota

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.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #123273 by tpartner
Replied by tpartner on topic Using quotas to prevent new entries
Good suggestion Denis but I can still see the value in having a "Maximum Responses" setting in the Publication & access control tab.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #123274 by DenisChenu
Replied by DenisChenu on topic Using quotas to prevent new entries

tpartner wrote: Good suggestion Denis but I can still see the value in having a "Maximum Responses" setting in the Publication & access control tab.

Hi Tony,

A plugin idea ?

I think it's easy to use beforeSurveyPage to :
- Test if srid is set : if not : test number of "completed?" response
- If completed responses >= "survey plugin setting" : show a message, and don't start survey.

We can test to without testing srid : and break the survey during response time.

Not so difficult to do survey : one day of work.

Denis

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.
More
8 years 7 months ago #123277 by jelo
Replied by jelo on topic Using quotas to prevent new entries
You can add this to this feature request:
www.limesurvey.org/en/forum/future-featu...tallation-per-survey

There are many scenarios where a temporary stop is needed.
When the specs are clear, I would like to try a bounty/feature sponsoring.
Since two programmers where hired by the project, I am not sure if the bounty discussion will be fruitful anymore.
Not sure how sponsored features will work. Would a bounty of e.g. 250 EUR do more harm than good? Is a certain amount devaluating the work of a programmer?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #123279 by holch
Replied by holch on topic Using quotas to prevent new entries
I am not sure if this shouldn't be a core feature rather than a plugin. This is clearly something the survey engine itself should handle, I think. But then I am not a developer.

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

The topic has been locked.
More
8 years 7 months ago #123287 by jelo
Replied by jelo on topic Using quotas to prevent new entries

holch wrote: I am not sure if this shouldn't be a core feature rather than a plugin. This is clearly something the survey engine itself should handle, I think. But then I am not a developer.

The question is, whom will maintain these plugins. If they are packaged with Limesurvey and maintained by the core developers it might work.
If these plugins are at risk with every update of the core distribution and have to be downloaded and activated by hand it will be DOA.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #123290 by DenisChenu
Replied by DenisChenu on topic Using quotas to prevent new entries
A plugin is more quick to update and fix according to core.

A plugin are not removed when update

Core have bug with less used option .....

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.
  • mstein
  • mstein's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 7 months ago #123356 by mstein
Replied by mstein on topic Using quotas to prevent new entries
Thanks, holch!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose