Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Show the participant's ID in the text field of a question?

Show the participant's ID in the text field of a question? 4 years 8 months ago #65655

  • KingKorn
  • KingKorn's Avatar
  • Offline
  • Junior Lime
  • Posts: 26
  • Karma: 0
Hello everyone,

I'd like to show the internal ID of a participant in the text of a question (like showing previous answers with the INSERTANS-feature). Can this be done?

Thanks and best regards, kingkorn
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65681

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5900
  • Thank you received: 1292
  • Karma: 522
What is an "internal ID"?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65682

  • KingKorn
  • KingKorn's Avatar
  • Offline
  • Junior Lime
  • Posts: 26
  • Karma: 0
I don't know, what it's called. THe unique ID the participant's data is saved under - like a response id or something? ;)
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65859

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 364
  • Karma: 259
Do you mean the token which is used to restrict access to the survey or the data set ID for the current user's answers?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65891

  • KingKorn
  • KingKorn's Avatar
  • Offline
  • Junior Lime
  • Posts: 26
  • Karma: 0
the data set id for the current user's answers ;)
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65898

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5900
  • Thank you received: 1292
  • Karma: 522
You should be able to use the {SAVEDID} placeholder.

{SAVEDID} will return the "Response ID" from the database providing:
- The survey is active
- At least one 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 administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65909

  • KingKorn
  • KingKorn's Avatar
  • Offline
  • Junior Lime
  • Posts: 26
  • Karma: 0
strange - i tried that in the admin-email as well as in a question text - and it didnt work (im using the newest release by the way)
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65921

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5900
  • Thank you received: 1292
  • Karma: 522
I just tested and it works in question text for me. Is the survey activated?


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65946

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 364
  • Karma: 259
I'm not sure if the placeholder can be used at emails as well. You can try but keep in mind that this wil only work for the notification emails once the survey data was submitted.
At invitations/reminders you can't use that placeholder because the system won't know the ID up front.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65953

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 364
  • Karma: 259
I just tested and using {SAVEDID} at the notification emails works fine.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #65989

  • KingKorn
  • KingKorn's Avatar
  • Offline
  • Junior Lime
  • Posts: 26
  • Karma: 0
thanks - ok, ill test this again then - don'T know why this didn't work when i tried it last week...
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #66013

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 364
  • Karma: 259
KingKorn wrote:
thanks - ok, ill test this again then - don'T know why this didn't work when i tried it last week...
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #66031

  • KingKorn
  • KingKorn's Avatar
  • Offline
  • Junior Lime
  • Posts: 26
  • Karma: 0
ok, ive testet this - and it doesnt work - any ideas? ;)
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #66032

  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 4894
  • Thank you received: 718
  • Karma: 218
Which email are we talking about? Which version of Limesurvey are you using?

Matzi tested it and it worked in the notification email. If it doesn't work on your installation there must be something wrong with your installation, so we need some information to circle the problem.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Show the participant's ID in the text field of a question? 4 years 8 months ago #66053

  • KingKorn
  • KingKorn's Avatar
  • Offline
  • Junior Lime
  • Posts: 26
  • Karma: 0
hm, strange - as all other fields like INSERTANS and the token-stuff works - im talking about the detailed admin notification by the way and my version is 1.91+ build 10377
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.255 seconds