Welcome to the LimeSurvey Community Forum

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

Using email as token

  • LimeLight
  • LimeLight's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 3 months ago #177858 by LimeLight
Using email as token was created by LimeLight
Hi,

The subject says it all... Can I somehow use email as token? I tried uploading a sample where the email is listed in the token column, but the '@' is not allowed. I need to send the respondents back to a third party system at the end of the survey, and the only way to identify them is to append the email address to the end-url.

plz advice...

// thanx
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #177862 by holch
Replied by holch on topic Using email as token
Why not using the email in a custom variable of the token table. You can access this just like you would access the token. This would give you the email in EM, assuming that you saved it into the custom attribute "attribute_1"
Code:
{TOKEN:ATTRIBUTE_1}

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #177869 by DenisChenu
Replied by DenisChenu on topic Using email as token
or {TOKEN:EMAIL} :)

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.
  • LimeLight
  • LimeLight's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 3 months ago #177871 by LimeLight
Replied by LimeLight on topic Using email as token
Hm... I might have missed a piece here. The members are coming in from the third party system. I need to validate them coming in, and after taking the survey, I need to send them back to the same system. Problem is that when the member come knocking on Limesurvey, the only ID he/she can carry is the email address.

The URL in the third party system look like this:

lime.com/index.php/123456?token= [%email%]&newtest=y

Sorry for the confusion...
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #177873 by holch
Replied by holch on topic Using email as token
In this case you won't use tokens but the panel integration. Have a look at that in the manual.

Basically what you do is you save a variable from the URL into a hidden question in your survey and then pass it into the endurl.

Do not use tokens here.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • LimeLight
  • LimeLight's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 3 months ago #177876 by LimeLight
Replied by LimeLight on topic Using email as token
Sounds very promising. I'll have a read/test with that! Thanks!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose