Redirecting Form Pages

Prev Next

In certain situations, your institution might want to redirect users from one Slate page to another. There are a few ways to do this:

Redirecting from a confirmation page to an external URL

To redirect users from a Slate-hosted confirmation page to an external URL:

  1. From the main navigation, select Forms.

  2. Select the form that should contain the redirect, or create a new one.

  3. Select Edit Communications.

  4. Select Edit Mailing for the confirmation page communication.

  5. Select Edit Message.

  6. Select Source in the editor’s top ribbon to open the source code view.

  7. Enter one of the following redirect scripts immediately after the <head> tag in the form’s source content:

    • Redirect after a delay, displaying the original page for the length of time you specify:

      <script type="text/javascript">
          var delay = 5000;
          setTimeout(function(){window.location = 'HTTPS://WWW.YOUR-URL.COM'; }, delay);
      </script>
    • Redirect immediately, with no delay:

      <script type="text/javascript">
          var delay = 0; 
          setTimeout(function(){ window.location = 'HTTPS://WWW.YOUR-URL.COM'; }, delay);
      </script>
  8. Select OK.

  9. Select Save.

Redirecting to another page when accessing a form

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

  1. From the main navigation, select Forms.

  2. Select the form that should contain the redirect, or create a new one.

  3. Select Edit to open the Edit Form popup.

  4. Select the Description tab.

  5. Select Source in the editor’s top ribbon to open the source code view.

  6. Follow Steps 7-9 in the previous section to add one of the two browser redirects.

A screenshot of the Edit Form pop-up with an arrow pointing to the 'Source' icon.

Still looking for what you need?