Welcome to the LimeSurvey Community Forum

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

Prevent duplicate usage of token before submission

  • rmfalcao
  • rmfalcao's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #216287 by rmfalcao
Hi there,

I would like to administer a survey with tokens, and I want to ensure that each token will be used only once.

I know that if I set "allow multiple responses" OFF a token cannot be used after a response with the same token was submitted. However I would like to prevent the usage of a token also if the token has been used but the response was not yet submitted.

Is it possible?

Thanks you in advance.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago - 2 years 10 months ago #216290 by tpartner
If you enable token-based response persistence, the respondent should be sent back to the uncompleted response.

- manual.limesurvey.org/Participant_settin...onses_with_one_token

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 2 years 10 months ago by tpartner.
The topic has been locked.
  • rmfalcao
  • rmfalcao's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #216291 by rmfalcao
Thank you, Tony.

But I am looking for something slightly different: when someone (it does not matter whether it is the same user or another user) tries to use the same token again, I would like to tell them that the token was already used.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #216295 by tpartner
As far as I know, that's not possible.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #216304 by holch

But I am looking for something slightly different: when someone (it does not matter whether it is the same user or another user) tries to use the same token again, I would like to tell them that the token was already used.

Like Tony, as far as I know, that is not possible.

Because where would you set the cut off? If someone starts the survey, stops for a few minutes, then goes back. Should this already be excluded? Or only after hours? How will Limesurvey know, when to make the cut 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.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #216363 by DenisChenu
More details + plugin can do this.

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.

Lime-years ahead

Online-surveys for every purse and purpose