title: jQuery form validation taking too long on submit
body: <p>There is  fairly complex php POST form with great deal of data validation using jQuery like below. However, I'm running into some problems cause it seems like form is getting submitted before the validation gets completed.</p>
  
  <p>Question : Is it possible that the validation is taking so long, that the form is submitted by default, before jQuery has even returned true or false?  If so, what is the best way to deal with this?</p>
  
  <pre><code>jQuery('#order-form').submit(function(){
  
  // Validate many different fields in various ways
  
  if (valid)
     return true;
  else
     return false;
  
  });
  </code></pre>