Redirecting Form Pages
  • 04 Apr 2024
  • 1 minute read
  • Dark
    Light
  • PDF

Redirecting Form Pages

  • Dark
    Light
  • PDF

Article Summary

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.

  1. Click Forms on the Slate navigation bar. The Forms summary page appears.

  2. Select the form that should contain the redirect. The form’s summary page appears.

  3. Click Edit Communications. The Communications page appears.

  4. Navigate to the confirmation page communication and click Edit Mailing

  5. Click Edit Message. An  Edit Message popup appears.

  6. Click Source in the editor’s top ribbon. The Source editor appears (with HTML displayed).

  7. 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>
  8. Click OK.

  9. Click Save.

Redirecting to Another Page When Accessing a Form

To redirect the user to another page upon first accessing the form:

  1. Click Forms on the Slate navigation bar. The Forms summary page appears.

  2. Select the form that should contain the redirect. The summary page for the form appears.

  3. Click Edit. An Edit Form popup appears.

  4. Select the Description tab.

  5. Click Source in the editor’s top ribbon. The Source editor appears (with HTML displayed).

  6. Follow Steps 7-9 described above to add one of the two browser redirects.


Was this article helpful?