Welcome to the LimeSurvey Community Forum

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

VALIDATION CODE

  • Lensky
  • Lensky's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #141039 by Lensky
VALIDATION CODE was created by Lensky
Hi There!

I have some questions I hope you can assist me, currently I am working on a survey but I need to generate validation code after completing the survey It is like a freebies set up. Is it possible to do it on a token setup but not requiring identified participants.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 7 months ago #141058 by tpartner
Replied by tpartner on topic VALIDATION CODE
Can you not use the {SAVEDID} which is the response ID in the database?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Lensky
  • Lensky's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #141101 by Lensky
Replied by Lensky on topic VALIDATION CODE
Hi Tony thanks for replying,however, I never try to use SAVEDID do you have screen shot on how to do it? I
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 7 months ago #141108 by tpartner
Replied by tpartner on topic VALIDATION CODE
I'm not sure what you mean by "generate validation code". All I'm saying is that the SAVEDID can be used as an identifier instead of tokens.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Lensky
  • Lensky's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #141404 by Lensky
Replied by Lensky on topic VALIDATION CODE
Hi,
the validation code I am pertaining to is when I'm done answering the survey it will generate "unique code" . Is it possible to do it on lime survey? my participants here are anonymous (any customer who wants to answer a survey).


Thanks,
Len
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 7 months ago #141443 by tpartner
Replied by tpartner on topic VALIDATION CODE
The SAVEDID is unique. Why not use it?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose