- Posts: 38
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Which only works on the first screen.LarryMartell wrote: Yes, that thread was about getting the token, which I am doing - I get it from the URL.
Ah, the token is in the URL and I can get that in the JS.
That will probably only work on the first screen or if using AJAX mode (which I advise against).
<script> var userToken = '{TOKEN}' </script>
Can you read again my comment ?LarryMartell wrote: That was the first thing I had tried. It is not defined. Placeholders are not available in the custom.js file
in custom_header.twig for template or in question text (or anything else).
…LarryMartell wrote: We are running 2.73.1