Can I give people an identifier for their answers?

More
2 years 11 months ago #108771 by tog22
tog22 created the topic: Can I give people an identifier for their answers?
Can I give people an identifier for their answers? Ie. some string of letters from which you can pick out the answer row in the database. One example would be the date they started taking the survey. Another example would be a newly-generated string, perhaps generated by the Expression Manager, which then got saved to the database.

This could be presented in a late question (in the copying, using a LimeSurvey replacement field, or else in the default answer). Or it could be presented in the final page.

Please Log in to join the conversation.

More
2 years 11 months ago #108775 by Ben_V
Ben_V replied the topic: Can I give people an identifier for their answers?
Hi,
You can use {SAVEDID} keyword (already recorded in the db because it's the respondant unique ID for this survey)

You can try to retrieve in an equation question or just display at the last page some adaptation using other, prefix and/or suffix or other existing {keywords} or formula :

Some examples:

Prefix & suffix: ABC-{SAVEDID}-123
other keyword (survey id): {SID}-{SAVEDID}
Formula (date): {SAVEDID}-{date("d/m/Y")}

Related post => Generate Unique PIN for user

Ben

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now