Welcome, Guest
Username: Password: Remember me

TOPIC: Include Unique ID in End Message

Include Unique ID in End Message 3 years 2 months ago #63370

  • lhughes30
  • lhughes30's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Thank you received: 1
  • Karma: 1
I need to include a unique number in each End Message. The length/format are not important. I found the replacement field properties button in the editor which allows inserting a few tokens. Is there a doc that shows all the available {TOKEN:tokenname} combinations, and/or is there another way to do this? I'd prefer not to have to have user tokens but will do so if that's the only to get it done.

Thanks for any help.
The administrator has disabled public write access.
The following user(s) said Thank You: jamarin

Re: Include Unique ID in End Message 3 years 2 months ago #63394

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4206
  • Thank you received: 790
  • Karma: 360
I think the only way to ensure the numbers are unique would be to use a token attribute - docs.limesurvey.org/Tokens&structure=Eng...ned_attribute_fields
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Include Unique ID in End Message 3 years 2 months ago #63423

  • lhughes30
  • lhughes30's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Thank you received: 1
  • Karma: 1
Thanks for your response Tony. Actually the random token value will work fine -- but how do I display this in the End Message? I tried {TOKEN:TOKEN} but that didn't work. If I need to define an attribute field, how do I specify that Lime should generate unique values for that field when generating tokens?
The administrator has disabled public write access.

Aw: Re: Include Unique ID in End Message 3 years 2 months ago #63440

  • jelo
  • jelo's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 467
  • Thank you received: 52
  • Karma: 16
Try {TOKEN} .
The administrator has disabled public write access.
The following user(s) said Thank You: jamarin

Re: Aw: Re: Include Unique ID in End Message 3 years 2 months ago #63441

  • lhughes30
  • lhughes30's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Thank you received: 1
  • Karma: 1
Doh! That did the trick -- thanks very much.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.121 seconds
Donation Image