How to use a computed url redirection ?

More
4 years 1 month ago #92651 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:
<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

Please Log in to join the conversation.