title: Custom Validation not working with Ajax MVC Call
body: <p>On the click of a button i want to sumbit a form if another form, in the same page (not a ligthbox) is valid. That validation is a Custom Validation I created and is working fine.
  This is the code in the view </p>
  
  <pre><code>$("#btnSave").click(function (e) {
  
              if ($("#GeneralButtonFrm").valid()) {
  
                  $("#ButtonFrm").submit();
  
              } else {
                  //Error Message
              } });
  </code></pre>
  
  <p>The problem is that the submit action is executing without waiting for the response of the custom validation which return false.</p>
  
  <p>Any idea why this is happening?</p>
  
  <p>Note: I said I am not using a ligthbox rendering a partial becouse in that case the solution would be jQuery.validator.unobtrusive.parse('#form');</p>
  
  <p>Thanks</p>