Redirect to Thank you page

This script will send a user to a new page after submitting a form. Paste it into the form's POST-SUBMIT HTML section.

<script type="text/javascript">  
  var redirectURL = "/somewhere-else";
  // Fixes an issue with IE8 and lower
  if ( navigator.userAgent.match(/MSIE\s(?!9.0)/) ) {
    var referLink = document.createElement( "a" );
    referLink.href = redirectURL;
    document.body.appendChild( referLink );;

  // Standard redirect for all other browsers
  } else {
    window.location.assign( redirectURL );