Check out the LimeSurvey source code on GitHub!

Include Unique ID in End Message

More
5 years 7 months ago #63370 by lhughes30
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 following user(s) said Thank You: jamarin

Please Log in to join the conversation.

More
5 years 7 months ago #63394 by tpartner
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.

Please Log in to join the conversation.

More
5 years 7 months ago #63423 by lhughes30
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?

Please Log in to join the conversation.

More
5 years 7 months ago #63440 by jelo
The following user(s) said Thank You: jamarin

Please Log in to join the conversation.

More
5 years 7 months ago #63441 by lhughes30
Doh! That did the trick -- thanks very much.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form