Welcome to the LimeSurvey Community Forum

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

Limit a Token to only take the Survey Once

  • ahodges
  • ahodges's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #137618 by ahodges
I have imported tokens into my instance of LimeSurvey but I would like to limit each token to only be able to take the survey once. I have tried many options but none of them seem to work. Any suggestions?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #137620 by holch
Replied by holch on topic Limit a Token to only take the Survey Once
Default the option should be only once.

This is triggered by "uses left". If this is set to 1, then when someone finishes the survey, it goes to 0 and the link should not work anymore. ( manual.limesurvey.org/Survey_participants - search for "uses left").

What version of LS are you using, how do you test this?

Maybe this is your case: www.limesurvey.org/forum/design-issues/8...tokens-being-ignored

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.
  • ahodges
  • ahodges's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #137629 by ahodges
Replied by ahodges on topic Limit a Token to only take the Survey Once
I am using Version 2.50+ Build 160606. I am testing it by copying my survey, importing participants, activating the survey and then I take it using the token. After I submit the survey the "uses left" for that particular token does not change from 1 to 0.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #137634 by holch
Replied by holch on topic Limit a Token to only take the Survey Once
That sounds weird. It should. Once a respondent reaches the end page, the count for uses left should go down by 1. Default the value should be 1, then after one use it should go to zero and stop there.

If you put uses left to for example 5, this token link can be used 5 times until is not valid anymore.

What happens when you open this link again? do you get a clean new survey or are there already answers given?

What about the setting from the link? Is that on or off?

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.
  • ahodges
  • ahodges's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #137635 by ahodges
Replied by ahodges on topic Limit a Token to only take the Survey Once
When I go into the participants table and change uses left to 5 for that particular token and then click save nothing happens. It still says uses left is 1. I tried reloading the page and trying again but it didn't work.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago - 7 years 10 months ago #137637 by holch
Replied by holch on topic Limit a Token to only take the Survey Once
Well, if everything else is correct, this sounds like a bug and should be reported.

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

Last edit: 7 years 10 months ago by holch.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #137659 by DenisChenu
Replied by DenisChenu on topic Limit a Token to only take the Survey Once
Before reporting:
- Validate Anonymized responses? is to Yes or No
- See if Allow multiple responses or update responses with one token? is to NO.

See if you don't have external plugin too.

And when report : please send a little lsa file (just one question and ~3 tokens : one submitted, one started and one not started).

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
7 years 9 months ago #138157 by hucucha
Replied by hucucha on topic Limit a Token to only take the Survey Once
Hi
I have exactli the same Problem.


- Validate Anonymized responses? is set to No
- See if Allow multiple responses or update responses with one token? is set to No.


Do you have allredy get a solution or answer to this bug?

many thanks for your help!
The topic has been locked.
More
5 years 2 months ago #180241 by bulgin
Replied by bulgin on topic Limit a Token to only take the Survey Once
Same problem here. Version 3.15.8+190130

Tokens are re-usable over and over. Despite my setting the opposite.

See attached screenshots.





The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #180244 by DenisChenu
Replied by DenisChenu on topic Limit a Token to only take the Survey Once
It work for me.

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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #180246 by holch
Replied by holch on topic Limit a Token to only take the Survey Once
What are you trying to show us with the third Screenshot? They are all different and unused tokens... I can't see nothing wrong there.

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
5 years 2 months ago #180247 by bulgin
Replied by bulgin on topic Limit a Token to only take the Survey Once
Whenever I create a survey and allow LS to create dummy participants, the system works as it is supposed to: the survey won't allow a duplicate account to access the survey.

However, whenever I import .csv file without errors something is happening in that process - despite no error messages - that does not trigger the system to recognize the same token over and over again.

I'm not quiet there yet but getting close. I will post more when I zero in on the issue.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose