- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Prevent completion of a survey
- pesolution
- Topic Author
- Offline
- New Member
Less
More
6 years 7 months ago - 6 years 7 months ago #157082
by pesolution
Prevent completion of a survey was created by pesolution
Can I prevent survey completion? In my case I have a yes/no question and if the answer is 'no' I want the survey to stop without completion status. Is this possible?
Unfortunately I cannot find anything that will help me solve this problem. Does anyone on here have an idea?
Unfortunately I cannot find anything that will help me solve this problem. Does anyone on here have an idea?
Last edit: 6 years 7 months ago by pesolution.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
6 years 7 months ago #157085
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Prevent completion of a survey
Quotas -
manual.limesurvey.org/Quotas
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: pesolution
The topic has been locked.
- pesolution
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
6 years 7 months ago #157095
by pesolution
Replied by pesolution on topic Prevent completion of a survey
I feel like this works with open surveys only. I have a closed survey with invitations. I need the survey to be halted until undefined. The survey must not be closed and definitely has to stay open. I feel like a quota will not work in this way.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
6 years 7 months ago #157106
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Prevent completion of a survey
I'm not sure I understand completely. You want to prevent the respondent from completing now but allow them back in later?
If so, I don't have a solution.
If so, I don't have a solution.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- pesolution
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
6 years 7 months ago - 6 years 7 months ago #157110
by pesolution
Replied by pesolution on topic Prevent completion of a survey
Exactly.
Well I'll go with manually reopen the survey for that key then. The survey is not anonymous so that is not in the way. It was just a question of automation.
Thank you anyway.
Well I'll go with manually reopen the survey for that key then. The survey is not anonymous so that is not in the way. It was just a question of automation.
Thank you anyway.
Last edit: 6 years 7 months ago by pesolution.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
6 years 7 months ago #157185
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Prevent completion of a survey
But the quota doesn't close the whole survey. It just closes the survey for those that give the wrong answer. In your case you set a zero quota for those that give the wrong answer and they will be screened out. Everyone that gives the right answer can continue.
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13910
- Thank you received: 2546
6 years 7 months ago #157234
by DenisChenu
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.
Replied by DenisChenu on topic Prevent completion of a survey
@holch you're right , but there are an issue hard to resolve with token. If you want a token for multiple response : it broke all response, not only one .
Hard to resolve : because most user want that solution, not @pesolution need.
For @pesolution : add condition to all group after to question.NAOK=="Y" and put such string on end message
{if(question.NAOK=="Y","Ok, survey submited","Not OK survey closed")}
Hard to resolve : because most user want that solution, not @pesolution need.
For @pesolution : add condition to all group after to question.NAOK=="Y" and put such string on end message
{if(question.NAOK=="Y","Ok, survey submited","Not OK survey closed")}
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.
- pesolution
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
6 years 7 months ago - 6 years 7 months ago #157303
by pesolution
Replied by pesolution on topic Prevent completion of a survey
Thank you for the contribution.
The use case is rather unusual, but I'm stuck with it. I have a closed survey and a distribution of tokens of some kind that can lead to errors. Speak: People might get stuck with the wrong token leading them to somebody else's survey.
Now I was thinking of an initial question to validate the user's name. Something along the line "Are you <xy>?" and a y/n forced choice. If they click yes - go ahead.
If they click no - please contact administrator to resolve the issue.
It just would have been nice for the survey of that respective token to stay open. Even better: to reset said token.
The use case is rather unusual, but I'm stuck with it. I have a closed survey and a distribution of tokens of some kind that can lead to errors. Speak: People might get stuck with the wrong token leading them to somebody else's survey.
Now I was thinking of an initial question to validate the user's name. Something along the line "Are you <xy>?" and a y/n forced choice. If they click yes - go ahead.
If they click no - please contact administrator to resolve the issue.
It just would have been nice for the survey of that respective token to stay open. Even better: to reset said token.
Last edit: 6 years 7 months ago by pesolution.
The topic has been locked.