title: Google ReCaptcha in Jquery.validate as class rule
body: <p>I'm making use of Jquery .validate to validate my forms and we are also using Google Recaptcha to provide a nicer way of detecting if the submission is from a human.</p>
  
  <p>I prefer to validate my forms by using the class attributes on each element, and have applied a hidden text field from another tutorial online.</p>
  
  <pre><code>&lt;input type="hidden" class="hiddenRecaptcha required" name="hiddenRecaptcha" id="hiddenRecaptcha"&gt;
  </code></pre>
  
  <p>I have added a method to the validator, but it doesn't seem to work</p>
  
  <pre><code>jQuery.validator.addMethod("hiddenRecaptcha", function(value, element) {
    if (grecaptcha.getResponse() != '') {
      return true;
    }
  }, "Please confirm you are human");
  </code></pre>
  
  <p>Is there something Im missing when trying to add it this way ?</p>
  
  <p>Thanks in advance</p>