Welcome to the LimeSurvey Community Forum

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

Display participant's ID at the end of the survey

  • gywon1
  • gywon1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #158414 by gywon1
Hi, I would like to display participiant's id in my survey, can I do that? If so, can anyone help me? Thanks.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #158416 by tpartner
If you mean the response ID, you can use the {SAVEDID} placeholder any time after the first question page has been submitted.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • gywon1
  • gywon1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #158419 by gywon1
No, I want the participiant's ID from the survey participant list, because it recorded the number of entry have completed this survey, and I want my participiants to know how many people have already done this survey. Can you please help? Thanks.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #158420 by Joffm
That means, this ID is created by you???
So you can duplicate it as a TOKEN_ATTRIBUTE and display it.
Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • gywon1
  • gywon1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #158421 by gywon1
Not the token attribute that was created by me. It ia actually the PARTICIPIANT ID that is recorded in the Central participant database.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #158438 by Joffm
So the participant ID records the number of respondents who completed the survey before?
How do you do that?
Sounds very interesting, because there were some questions here about this.

Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #158444 by tpartner
There is no way that the participant ID can be used to record the number of previous complete submissions.

What if a participant is registered but does not complete (or even start) the survey?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • gywon1
  • gywon1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #158470 by gywon1
I hope I didn't confuse your guys.  What I wanted to display in the survey is the Participant's Id, regardless whether our participant has completed the survey or not (please see the screen capture attached). The survey gives an id for each participant who registered by email through public registration. Is there any placeholder that represents the Participant's id? Please help! Many thanks.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 1 month ago #158490 by DenisChenu
Replied by DenisChenu on topic Display participant's ID at the end of the survey
In theory : TOKEN:PARTICIPANT_ID must work, except actual system disable it due to the underscore …

No way to have it without PHP code

See framagit.org/SondagesPro/addVarToTokenEmail for idea

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: gywon1
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose