title: Skipping validation on tab out when a button is clicked
body: <p>I am validating the fields of a form on tab out as well as validating the form itself when clicking on Submit button.I am using Jquery validator plugin.I have another button on the form,I use to go back to the list.When I click on 'Back to List' button,first field gets validated and I get the error message and I have to click on 'Back to List' again to cancel the creation.Now,I think this because I am validating on blur.Any ideas on how to circumvent this.</p>
  
  <p>HTML is</p>
  
  <pre><code>   &lt;div class="form-group text-center"&gt;
              &lt;button type="submit" id="Submit" class="btn btn-primary"&gt;Submit&lt;/button&gt;
              &lt;button type="reset" id="Reset" data-bind="click: reset" class="btn btn-primary"&gt;Reset&lt;/button&gt;
              &lt;a id="BacktoIndex" href="/Provider/ShowTheListOfProviders" class="btn btn-primary cancel"&gt;Back to List&lt;/a&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>JQUERY validation code is</p>
  
  <pre><code> $("#providerDetailsForm").validate({
      onfocusout: function (element, event) {
          this.element(element);
      },
      onkeyup: function (element, event) {
          if (event.which === 9 &amp;&amp; this.elementValue(element) === '') {
              return;
          } else if (element.name in this.submitted) {
              this.element(element);
          }
      },
      rules:
          {
              contactNumber: { required: true, minlength: 10, maxlength: 10 },
              contactEmail: { required: true, acceptEmail: true }
          },
      messages: {
          contactNumber: {
              required: "Please enter the Contact Number",
              minlength: "Minimum of 10 digits required.",
              maxlength: "Maximum of 10 digits allowed."
          },
          contactEmail: {
              required: "Please enter the Email Address",
              acceptEmail: "Please enter a valid email ID"
          }
      }
  });
  </code></pre>