Hi, In previous versions (or previous ways in which we had used LS) we were able to display the TOKEN since it was in the address bar and we simply extracted that portion of the URL string. We no longer are configuring the survey to display the token within the address bar but would like to display it for the user (a specific business requirement from the client) using something like {TOKEN:TOKEN} but any syntax we try doesn't seem to parse the tag. We would be placing this in something like MAINROW.TWIG that we edit through the control panel. The content would be persistent across all screens in the survey (we paginate this survey into 20 screens). We aren't sure if it requires something like {% aSurveyInfo blah blah blah %} or {{ aSurveyInfo }} or some version like that but tried many and can't seem to produce the TOKEN value.
Some info:
LimeSurvey Version 3.27.1
Survey is NOT anonymous
Survey is activated and token based response persistence is set to ON
Do you know if it's possible to incorporate this into a condition? For example, if the token is defined then show some content, else do not show the content.
TOKEN are set if SURVEY have token and are not anonymous.
Then : no real condition because it's a survey behaviour.
I don't understand …
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.