Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Help with End URL

  • DLundin
  • DLundin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 weeks ago - 1 year 3 weeks ago #241251 by DLundin
Help with End URL was created by DLundin
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.4.11+221114
Own server or LimeSurvey hosting: Own server
Survey theme/template: Own
==================
Hi,

I have an issue I hope you can help me with.

In my End URL (Survey text elements panel) I want to add {TOKEN:LASTNAME} and a timestamp to my End URL so that I will get both the first and the last name and a date and time for when the survey was done. 

Is this possible?

This is my End URL right now:
www.limesurvey.org/test.php?surveyId={SI...E}&answerId={SAVEDID }

Thanks!

/Daniel
 
Last edit: 1 year 3 weeks ago by DLundin.

Please Log in to join the conversation.

More
1 year 3 weeks ago - 1 year 3 weeks ago #241252 by jelo
Replied by jelo on topic Help with End URL
Placing Variables directly in the EndURL field is often buggy.
I recommend to use a hidden equation question, where you build the EndURL and only place the {questioncode} in the EndURL field.

I cannot recommend to place personal data directly into an URL. These URLs are part of histories, logfiles etc. These data is regulated by privacy rules.
If that is no issue for your case, you can try to add variables to the URL. You might run into issues if names contain characters not valid in an URL.
en.wikipedia.org/wiki/URL_encoding

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 1 year 3 weeks ago by jelo.
The following user(s) said Thank You: DenisChenu, holch

Please Log in to join the conversation.

  • DLundin
  • DLundin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 weeks ago #241265 by DLundin
Replied by DLundin on topic Help with End URL
Thank you jelo. I´m sure I will figure it out now.

/d

Please Log in to join the conversation.

  • DLundin
  • DLundin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 weeks ago #241292 by DLundin
Replied by DLundin on topic Help with End URL
Hi again,

Can I please get an example on how you compose the URL with {questioncode}?


/d

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 2 weeks ago #241298 by holch
Replied by holch on topic Help with End URL
You create your URL via expression script in a hidden equation question, so that you have the complete URL string stored in this equation question.

And then you just include {yourquestioncodefortheequationquestion} into the end URL field.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose