Welcome to the LimeSurvey Community Forum

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

How to use a computed url redirection ?

  • eblanche
  • eblanche's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #92651 by eblanche
How to use a computed url redirection ? was created by eblanche
Hi folks,
I am trying to make a conditionnal URL redirection depending on the answers.
I created an equation field named "redirecturl" and specified {redirecturl} in the "end URL" field of the survey.
So far so good, the redirect url is updated accordingly.
But it looks like LS is building some span id with wrong text.
In this example, {redirecturl} has " www.google.com " as value and "Redirecting to" as URL description.
Here is the HTML code generated by LS:
Code:
<a lemtailor_q_0_15'="" href="<span id=">http://www.google.com'>Redirecting to</a>
Additionally, I was expecting LS to diplsay the default "completed" page with no redirection if the {redirecturl} is empty.

Am I doing something wrong or is there another way to accomplish this ?
Thanks
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose