KendylBrockman
2 years agoQrew Member
Redirecting to a "thank you" page
Hello!
I've created an EOTI form, so that the public is able to submit questions or comments to our office. After someone hits submit, I'd like them to be redirected to a "thank you page". I've been reading up on past discussion on this topic, and have it figured it out 90% of the way. I came across a code provided by Dan Ladner, that is working well but it's redirecting me to an error page.
The code provided by Dan Ladner:
------------------------------
Kendyl Brockman
------------------------------
I've created an EOTI form, so that the public is able to submit questions or comments to our office. After someone hits submit, I'd like them to be redirected to a "thank you page". I've been reading up on past discussion on this topic, and have it figured it out 90% of the way. I came across a code provided by Dan Ladner, that is working well but it's redirecting me to an error page.
The code provided by Dan Ladner:
var text rdrURL = "www.redirectPage.com";
"<a class='SaveBeforeNavigating' href='" & $rdrURL & "'>Submit</a>"
I've updated the URL "www.redirectpage.com" to the thank you page I've created within our website. While testing this, I have been redirected to another page but it's an error page. I think the reason I'm getting redirected to an error page is because somehow extra letters and words are being added to the URL once hitting submit. Please see snapshot, at the end of the webpage URL I've added, ">Submit</a>'>Button%20Text</a> has been attached at the end.
This is what it looks like in my QB:
Does anyone happen to know how to update this so that it only redirects to the URL I'm copying in?
Thank you!!
Kendyl Brockman
------------------------------
Kendyl Brockman
------------------------------