- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Autofill answers with email used to log in to survey portal
- nboland
- Topic Author
- Offline
- New Member
Less
More
7 years 3 months ago #146588
by nboland
Autofill answers with email used to log in to survey portal was created by nboland
Hi,
I am creating a survey weher we ask respondants to provide their email address.
As they have already used this email to enter the survey portal - is it possible to auto fill the answer to this survey question, using the email submitted for login?
Thanks
I am creating a survey weher we ask respondants to provide their email address.
As they have already used this email to enter the survey portal - is it possible to auto fill the answer to this survey question, using the email submitted for login?
Thanks
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10108
- Thank you received: 3593
7 years 3 months ago #146615
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Autofill answers with email used to log in to survey portal
If by "As they have already used this email to enter the survey portal" you mean they have registered for a token, you can use the {TOKEN:EMAIL} placeholder in the default answer field.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- nboland
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
7 years 3 months ago #146694
by nboland
Replied by nboland on topic Autofill answers with email used to log in to survey portal
Thanks Tony, appreciate your help!
If you have 5 minutes, could you take a look at the below to try figure out why they are not working?
I am hoping to pre-fill other similar questions based on the details associated with their access token. I want to get their First, Name, Last name, and a practice area (field I added to tokens, which is mandatory for all users.)
{TOKEN:First_Name
{TOKEN:Last_Name}
{TOKEN:EA_Practice_Area}
Thanks again, really appreciate it as a non-technical newbie
If you have 5 minutes, could you take a look at the below to try figure out why they are not working?
I am hoping to pre-fill other similar questions based on the details associated with their access token. I want to get their First, Name, Last name, and a practice area (field I added to tokens, which is mandatory for all users.)
{TOKEN:First_Name
{TOKEN:Last_Name}
{TOKEN:EA_Practice_Area}
Thanks again, really appreciate it as a non-technical newbie
The topic has been locked.
- Deusdeorum
- Offline
- Senior Member
Less
More
- Posts: 72
- Thank you received: 17
7 years 3 months ago - 7 years 3 months ago #146698
by Deusdeorum
Replied by Deusdeorum on topic Autofill answers with email used to log in to survey portal
You would want to use {TOKEN:FIRSTNAME}, {TOKEN:LASTNAME} and the other one i dont know, but if you use attributes you can access them {TOKEN:attribute_i} where i=1,...,n depending on how many attributes you have. {TOKEN:ATTRIBUTE_1} will access attribute_1 in your token table.
Last edit: 7 years 3 months ago by Deusdeorum.
The topic has been locked.