Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Is it possible to pass the token in the url and store as a hidden field?

Is it possible to pass the token in the url and store as a hidden field? 6 days 19 hours ago #142180

  • f1refly
  • f1refly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
I am trying to do this same thing with an opt out link. How would it be accomplished in the current version (2.52?)

I have copied the javascript to the source description of my group. But I don't see a link. I think that there is no longer a #progress-wrapper. I would be happy with the opt out link in the description.

Any pointers?
The administrator has disabled public write access.

Is it possible to pass the token in the url and store as a hidden field? 5 days 1 hour ago #142197

  • jelo
  • jelo's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1379
  • Thank you received: 181
  • Karma: 52
f1refly wrote:
I am trying to do this same thing with an opt out link. How would it be accomplished in the current version (2.52?)
To add your post to an old and long thread can minimize the chance for answers.
Nobody likes to dig through old stuff to grasp the status quo of the discussion.

If you just need a URL with a token on every page of the survey you can try to add the link directly to the template.
The token placeholder should be possible to add to the template as well. Haven't tested it on my own.
If you need the URL only on certain pages it depends on the position of the URL which way to go.
The administrator has disabled public write access.
The following user(s) said Thank You: f1refly

Is it possible to pass the token in the url and store as a hidden field? 4 days 22 hours ago #142203

  • f1refly
  • f1refly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Thanks for the reply. I thought I was being efficient by adding it to a post about the same thing but I certainly see what you mean!
I have managed to add the link (without the token) to the template because I do want it on every page. The TOKEN replacement variable doesn't work though. I'm not sure if it just doesn't work in the templates or if it is because my survey is anonymous. Could be both. I'll start a new thread about this.

Thanks again.
The administrator has disabled public write access.

Is it possible to pass the token in the url and store as a hidden field? 4 days 6 hours ago #142225

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6009
  • Thank you received: 371
  • Karma: 260
f1refly wrote:
I'm not sure if it just doesn't work in the templates or if it is because my survey is anonymous. Could be both. I'll start a new thread about this.
If the survey is anonymous, the TOKEN replacements will probably be turned off. Same for variables like {TOKEN:ATTRIBUTE_1} and similar.
This is to ensure anonymity.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: f1refly
  • Page:
  • 1
  • 2
Time to create page: 0.190 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form