- Posts: 56
- Thank you received: 4
Ask the community, share ideas, and connect with other LimeSurvey users!
<input id="token" type="hidden" value="BdjgvTV5" name="token">
Please Log in to join the conversation.
<input id="token" type="hidden" value="BdjgvTV5" name="token">
Please Log in to join the conversation.
Yii::app()->request->getParam('token');
Please Log in to join the conversation.
No, the {TOKEN} placeholder won't work in custom.js but you should be able to insert that hidden input in one of the survey theme Twig files.The survey does sort of work as normal, but my theme was relying heavily on this element, thats why I noticed. {TOKEN} doesnt work in custom js scripts loaded in the theme, does it?
Please Log in to join the conversation.
Yeah, I found this strange as well. I would not expect such a change between minor versions. But then, for most people it is probably not a big deal either. Now, for you with a theme that heavily relies on this, this can be an issue.I am mostly wondering, if it was a conscious change and why somewhere between those versions?
Please Log in to join the conversation.
Please Log in to join the conversation.