Welcome to the LimeSurvey Community Forum

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

How to pass respondent name through URL

  • AlexMos
  • AlexMos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #122163 by AlexMos
Hi community members!

Thank you for excellent software!!!

Can you please tell me how I can do the following.

I have list of several respondents, that agreed to participate in my survey.
I have their e-mails and we agreed to contact via e-mail:
  1. Alex ; alex [at] test.ru
  2. Don ; don [at] test.ru
  3. John ; john [at] test.ru
  4. Madlen ; madlen [at] test.ru
  5. Sara ; sara [at] test.ru
They are rather busy persons and they don't have much time to register properly - only a small questionnaire with just 3-5 answers.
I want to save their time and write their names (or at least e-mails) into DB automatically

1. I send invitation e-mail to respondent Alex with hyperlink, including in URL: either e-mail or name or list number - so that I can identify respondent, for instance resp=Alex:
somesurvey.com/index.php?sid=77157&newtest=Y&lang=en &resp=Alex

2. respondent reads e-mail and clicks that hyperlink

3. survey system opens survey #77157 and writes respondents name Alex to db directly

How can I do that, please?
Thanks in advance!!!
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 9 months ago #122169 by tammo
Replied by tammo on topic How to pass respondent name through URL
You can enter their details in the token table and invite them through the token table. They will then receive an email with a personal link to the survey. Would that help?

manual.limesurvey.org/Tokens


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: AlexMos
The topic has been locked.
  • aesteban
  • aesteban's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago #122210 by aesteban
Replied by aesteban on topic How to pass respondent name through URL
What you want to do is already done by default.

When you create a token you have to enter name and email. When user access the survey and enter responses, they are associated in DB with data of user.
The following user(s) said Thank You: AlexMos
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago - 8 years 9 months ago #122241 by tpartner
Replied by tpartner on topic How to pass respondent name through URL

...they are associated in DB with data of user.

Make sure that you do NOT set the survey to "Anonymized responses".

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 8 years 9 months ago by tpartner.
The following user(s) said Thank You: AlexMos
The topic has been locked.
  • AlexMos
  • AlexMos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #122262 by AlexMos
Replied by AlexMos on topic How to pass respondent name through URL
Thank you, sirs!

I'll try your advices! :)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose