title: How can i get my form to redirect to a URL
body: <p>I want my form to redirect to a url after submitting however i need the form to post to a separate url.</p>
  <p>So when the form sends the user goes here to a thank you page:<a href="https://www.activetalentagency.com/booking-request-confirmation/" rel="nofollow noreferrer">https://www.activetalentagency.com/booking-request-confirmation/</a></p>
  <p>The form information gets posted to here: <a href="https://overturehq.com/formapi/webform/submit.json" rel="nofollow noreferrer">https://overturehq.com/formapi/webform/submit.json</a></p>
  <p>The form submits but doesnt redirect to: <a href="https://www.activetalentagency.com/booking-request-confirmation/" rel="nofollow noreferrer">https://www.activetalentagency.com/booking-request-confirmation/</a></p>
  <p>Any help would be great!</p>
  <p>Here is my code <strong>UPDATED</strong>:</p>
  <pre><code>&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;
  &lt;title&gt;Test Form - Overture&lt;/title&gt;
  &lt;script src=&quot;https://malsup.github.io/jquery.form.js&quot;&gt;&lt;/script&gt; 
   
  &lt;script&gt; 
  // Form to submit via ajax.
  console.log($(&quot;form&quot;).length) (==0)
  $(&quot;form&quot;).ajaxForm({
  &quot;clearForm&quot;: false,
  &quot;resetForm&quot;: true,
  &quot;beforeSubmit&quot;: function() {
  },
  &quot;success&quot;: function(json) {
  if (json.success == true)
  {
  // Form has submitted successfully.
  alert(&quot;Thank you for getting in touch.&quot;);
  
  } else {
  for (name in json.errors) {
  $(&quot;form&quot;).find(&quot;[name$='&quot; + json.errors[name] + &quot;']&quot;).css(&quot;border-color&quot;, &quot;red&quot;);
  };
  };
  },
  &quot;error&quot;: function() {}
  });
  &lt;/script&gt; 
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;form method=&quot;post&quot; action=&quot;https://overturehq.com/formapi/webform/submit.json&quot;&gt;
  
  &lt;h2&gt;Test Form&lt;/h2&gt;
   &lt;label&gt;Name:&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;personName&quot; required&gt;
  &lt;label&gt;Email Address:&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;personEmailWork&quot; required&gt;
  &lt;label&gt;Phone Number:&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;personPhoneWork&quot; required&gt;
  &lt;label&gt;What would you like to discuss with us?&lt;/label&gt;
  &lt;textarea name=&quot;personNote&quot;&gt;&lt;/textarea&gt;
  
  &lt;input onclick=&quot;window.location = 'https://www.activetalentagency.com/booking-request-confirmation/';&quot; type=&quot;submit&quot; value=&quot;Submit request&quot; /&gt;
  &lt;input type=&quot;hidden&quot; name=&quot;key&quot; value=&quot;MTI4NzQxNTE1NzI=&quot;&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>