- 04 Apr 2024
- 1 minute read
- Print
- DarkLight
- PDF
Redirecting Form Pages
- Updated 04 Apr 2024
- 1 minute read
- Print
- DarkLight
- PDF
In certain situations, your institution might want to redirect users. There are a few methods to enable this.
Redirecting from a Confirmation Page to an External URL
To redirect users from a Slate-hosted confirmation page to an external URL.
Click Forms on the Slate navigation bar. The Forms summary page appears.
Select the form that should contain the redirect. The form’s summary page appears.
Click Edit Communications. The Communications page appears.
Navigate to the confirmation page communication and click Edit Mailing.
Click Edit Message. An Edit Message popup appears.
Click Source in the editor’s top ribbon. The Source editor appears (with HTML displayed).
Add the browser redirect by entering one of the following redirect codes immediately after the <head> tag in the form’s source content:
To make the browser redirect take place immediately with no delay:
<script type="text/javascript">/*<![CDATA[*/var delay = 5000; setTimeout(function(){ window.location = 'HTTP://WWW.YOUR-URL.COM'; }, delay);/*]]>*/</script>
To make the browser redirect take place after a specific delay (allowing the original page to briefly appear):
<script type="text/javascript">/*HTTP://WWW.YOUR-URL.COM'; }, delay);/*]]>*/script>
Click OK.
Click Save.
Redirecting to Another Page When Accessing a Form
To redirect the user to another page upon first accessing the form:
Click Forms on the Slate navigation bar. The Forms summary page appears.
Select the form that should contain the redirect. The summary page for the form appears.
Click Edit. An Edit Form popup appears.
Select the Description tab.
Click Source in the editor’s top ribbon. The Source editor appears (with HTML displayed).
Follow Steps 7-9 described above to add one of the two browser redirects.