title: jquery validator addMethod code issue
body: <p>I am using the following method which is displaying me the data from the backend in JSON format </p>
  
  <pre><code>[{"email":"email@email.com","status":"InActive"}]
  
  $.validator.addMethod("invalidcode", function(value, element) {
          var duplicate = false;
          $.ajax({
              url: '/_com/security/security.cfc?method=checkEmailStatus',
              data:'email='+$("#Reg_Username").val(),
              async: false,
              type: 'GET',
              success: function(data) {
                  var json = JSON.parse(data);
                  if (json[0].status == 'InActive') {
                      var duplicate = true;
                      var regInstructionsFooterHTML = $('#checkEmailRegister4InActive').text();
                      $('#reg-modal-footer').html('');
                      $('#reg-modal-footer').html(regInstructionsFooterHTML);
                  } else {
                      var duplicate = false;
                  }
              }
          });
          console.log(duplicate);
          return duplicate;
      }, "Email is Inactive");
  </code></pre>
  
  <p>now i am using this code at the bottom as like this: </p>
  
  <pre><code>Reg_Username: {
                      minlength: 6,
                      required: true,
                      email: true,
                      invalidcode:true,
                      newreg:true
                  },
  </code></pre>
  
  <p>now it checks for the invalidcode <code>addmethod</code> and then <code>newreg</code> method, so if the response coming from the backend is <code>InActive</code>, it should show <strong>Email is Inactive</strong> else, if someother response is coming like <code>reg</code>, it should show another <code>addmethod</code> which i might be writing for checking that </p>
  
  <p>but i think my above <code>addmethod</code> has some issues which is why it is always returning <code>false</code></p>