title: JQuery remote validation - if statement in complete phase
body: <p>I am using jquery validation to double-check entered values. This is working find as long as my controller return true or false. Now I would like to analyze the return value first and then decide if the value is correct or incorrect. </p>
  
  <p>So I am running the remote function like this:</p>
  
  <pre><code>supervisor: {
            required:true,
  
  remote: function() {
              return {
                  url: "getADobject/" + $('#supervisor').val(),
                  data: '',
                  complete: function(data) {
                    console.info(data);
                    $(".loading").css('visibility', 'hidden');
                    if(data.responseJSON === false){
                      console.info(data.responseJSON);
                      //$('#supervisor').validate() = false;
                      //return 'false';
                    }
                  }
              }
  </code></pre>
  
  <p>The object data returns the correct information and I also can do an if statement. But now I would like to say, yes the validation is OK or not. Can someone tell me how to add this information? I tried it already with an easy return true / 'true' / $valid = true but nothing :(</p>
  
  <p>Thanks in advance</p>
  
  <p>Stephan</p>