I was planning echoing into save template the firstname of a user using the token. Is this possible on the 3.27 version? I've read a note saying this was deprecated but was unable to find the new method.
So you want to show the first name of the respondent in the survey, based on the name of the respondent's name saved in the token table? This is easily possible.
Now if you want to show it within the template, not within the survey (e.g. the welcome text or a question text), then I don't know.
Where did you read this note? This is always an important information to understand where you are coming from.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
You can use
processString
function.
{{ procressString("{TOKEN:FIRSTNAME}") }}
for example.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.