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
6 years 3 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
6 years 3 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
6 years 3 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.

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.

Lime-years ahead

Online-surveys for every purse and purpose