- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
What is the difference between participant ID and token?
- teenlab
- Topic Author
- Offline
- New Member
Less
More
6 years 7 months ago #159016
by teenlab
What is the difference between participant ID and token? was created by teenlab
hello!
we are using limesurvey for our project for the first time.
we want each participant to have an unique id that is created with our own classifying system
so, each participant will be CLxxx (CL100, CL101...)
But on the survey system, when i want to enter a new participant, it just shows that the ID is "auto". I assume auto generated.
So i wonder if we can attribute unique ID to each participant ourselves, or is that what the token is for?
I haven't activated the survey yet so I don't know what will the webpage look like. Will i be asked to enter an ID and a token? Or just a token and ID is generated afterwards?
If there's no way to change the ID assigned, when we collect the data, will the token be the identifying name assigned to each participant?
thank you!
we are using limesurvey for our project for the first time.
we want each participant to have an unique id that is created with our own classifying system
so, each participant will be CLxxx (CL100, CL101...)
But on the survey system, when i want to enter a new participant, it just shows that the ID is "auto". I assume auto generated.
So i wonder if we can attribute unique ID to each participant ourselves, or is that what the token is for?
I haven't activated the survey yet so I don't know what will the webpage look like. Will i be asked to enter an ID and a token? Or just a token and ID is generated afterwards?
If there's no way to change the ID assigned, when we collect the data, will the token be the identifying name assigned to each participant?
thank you!
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12996
- Thank you received: 3999
6 years 7 months ago #159020
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic What is the difference between participant ID and token?
Hello,
Exactly, the participants ID is auto increment.
The TOKEN is more or less the password. With this the respondent logs in to answer a survey (in cloed surveys).
I don't recommend to use this for your classification.
The best way is to add a new TOKEN_ATTRIBUTE.
This you can use inside the survey, especially if this classifies your participants.
Best regards
Joffm
Exactly, the participants ID is auto increment.
The TOKEN is more or less the password. With this the respondent logs in to answer a survey (in cloed surveys).
I don't recommend to use this for your classification.
The best way is to add a new TOKEN_ATTRIBUTE.
This you can use inside the survey, especially if this classifies your participants.
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
6 years 7 months ago #159028
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic What is the difference between participant ID and token?
Note that the survey needs to be non-anonymous or else there will be no connection between the token and answers tables.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13676
- Thank you received: 2496
6 years 7 months ago #159042
by DenisChenu
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.
Replied by DenisChenu on topic What is the difference between participant ID and token?
Hi,
token->tid is a the id in the token table. But you have token->participant_id , it's used by LimeSurvey for global participant table. But you can use it in API if you don't use global participants.
Currently you can not use {TOKEN:PARTICPANT_ID} because Expression manager dislike underscore. But i have a plugin to use TOKEN:PARTICPANTID or TOKEN:PID in replacement.
token->tid is a the id in the token table. But you have token->participant_id , it's used by LimeSurvey for global participant table. But you can use it in API if you don't use global participants.
Currently you can not use {TOKEN:PARTICPANT_ID} because Expression manager dislike underscore. But i have a plugin to use TOKEN:PARTICPANTID or TOKEN:PID in replacement.
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.