How To Redirect To a Thank You Page in Appointment Core
Below is a script that you can enter in the "Confirmation Message" box, using the "Customize" button on the "Save/Publish/Share" TAB when creating/editing a Booking Request.
You just need to enter the URL of the page you want to direct them to after scheduling.http://screencast.com/t/RTUKzj7Duoe
<pre>[code lang="html4strict"]
<center><font color=red><h3>You will now be redirected to the payment page</h3></font></center>
<script type="text/javascript">
var redirectUrl = "[INSERT REDIRECT URL HERE]";
[/code]</pre>
var current = document.location;
//alert(current);
current = String(current);
//alert(typeof current);
var urlpart = current.split("?");
var allGetVariables = urlpart[1];
redirectUrl = redirectUrl + "?" + allGetVariables;
window.parent.location = redirectUrl;
},4000);
</script>
You will now be redirected to the thank you page