title: Redirect following onload submission of form
body: <p>I'm trying to unobtrusively pass some data into a form and redirect the user to a new page once submitted.</p>
  
  <p>The below code successfully submits the form on page load, but I don't know how to build a script into this to make it redirect to a certain page after submission. At the moment the form just keeps on re-submitting itself and stays on the same page.</p>
  
  <pre><code>$(document).ready(function(){
   $("#wpcf7-f7863-p7865-o1 form").submit();
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>