In certain situations, institutions may want to host a event within Slate so that it can be displayed on their calendar alongside other events, but they may not want the registration form itself to be hosted in Slate.
Similarly, once an event registration has been submitted, institutions may want the confirmation page to redirect to another URL instead of a Slate-hosted confirmation page.
An example scenario occurs when a partner participates in a joint travel event where another institution hosts the registration form. The partner may want to list the event on their website, but the students may need to register through another site for the event.
Configuring a Redirect
To immediately redirect the registrant to another page upon first accessing the form or event:
- Click Events in the top navigation bar. Navigate to the event that should contain the redirect.
- Click Edit, then Description, then Source to access the HTML Editor.
- Enter one of the following codes which will perform a browser redirect:
This code does an immediate redirect, without a delay.
<script>FW.Navigate('HTTP://WWW.YOUR-URL.COM');</script>
This code provides a slight delay, allowing for the original page to briefly show.
<script type="text/javascript">/*<![CDATA[*/var delay = 5000; setTimeout(function(){ window.location = 'HTTP://WWW.YOUR-URL.COM'; }, delay);/*]]>*/</script>
Similarly to the example above, if a joint travel event is hosted on Slate, the partner may want the confirmation page to redirect back to the joint travel page.
Configuring a Redirect
To immediately redirect the registrant to another page upon submitting an event registration:
- Click Events in the top navigation bar. Navigate to the event that should contain the redirect.
- Click Edit Communications, select the Confirmation Page communication then Edit Message, then Source to access the HTML Editor.
- Enter one of the following codes which will perform a browser redirect:
This code does an immediate redirect, without a delay.
<script>FW.Navigate('HTTP://WWW.YOUR-URL.COM');</script>
This code provides a slight delay, allowing for the original page to briefly show.
<script type="text/javascript">/*<![CDATA[*/var delay = 5000; setTimeout(function(){ window.location = 'HTTP://WWW.YOUR-URL.COM'; }, delay);/*]]>*/</script>