Welcome to the LimeSurvey Community Forum

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

Importing values from extern sources

More
7 years 2 months ago #146618 by L_L
Situation:
I am writing a greeting text and have the greeting "Dear Participant".
Now I want to personalize this greeting and write "Dear {nameOfParticipant}" instead, e.g. "Dear Max".

Question:
I would usually import this with $_GET, but I don't know how to do it in this case, as i don't have a unique identifier for this....
It would be great if any of you can help me here.
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
7 years 2 months ago #146622 by tammo
Replied by tammo on topic Importing values from extern sources
Hi L_L,

what version/build of LS are you using?
Are you using tokens?

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
More
7 years 2 months ago #146623 by L_L
Replied by L_L on topic Importing values from extern sources
Hi Tammo,

Sorry, forgot the basics.
I am using Version 2.56.1+161118 and not using tokens.

L_L
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
7 years 2 months ago #146624 by tammo
Replied by tammo on topic Importing values from extern sources
Where would the name come from then? How do you know that Max is at the keyboard?

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #146662 by DenisChenu
Replied by DenisChenu on topic Importing values from extern sources
2 solution (if you need it via GET)

1. Use token : token value are in GET and {nameOfParticipant} are {TOKEN:FIRSTNAME}
2. Prefilling with URL : For example
- 1st question are name , short text question type , hidden
- 2nd question are Text display question with "Welcome {name} ...."
- Set show welcome to false

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 following user(s) said Thank You: L_L
The topic has been locked.
More
7 years 2 months ago #146677 by L_L
Replied by L_L on topic Importing values from extern sources
Max receives an email where he clicks on a link that leads to the survey.
Through this email I can import the values to limesurvey usually.
I did it before with name, etc, but there i imported the values into an answer field, which has an unique identifier..

L_L
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #146679 by DenisChenu
Replied by DenisChenu on topic Importing values from extern sources
Token (see manual) are done for this

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.

Lime-years ahead

Online-surveys for every purse and purpose