Welcome to the LimeSurvey Community Forum

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

Pre-filling with tokens enabled?

  • joebloggs1987
  • joebloggs1987's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #161982 by joebloggs1987
Pre-filling with tokens enabled? was created by joebloggs1987
Is there any way I can pre-fill questions with tokens enabled?

I am wanting to pre-fill a question in the survey using the URL, which works fine when not using tokens, however when I enable tokens the pre-filling no longer works.
Note that I need the respondent to manually enter the token at the start of the survey rather than pre-filling token with the URL.

Thanks in advance.
The following user(s) said Thank You: jelo
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #161995 by tpartner
Replied by tpartner on topic Pre-filling with tokens enabled?
How about using token attributes to set default answers for those questions?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #162000 by holch
Replied by holch on topic Pre-filling with tokens enabled?
I think Tpartner's solution is the only that will work, if you require respondents to type in the token. Because the url variable will be lost at that point, I think.

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.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose