Set reCaptcha field as required
问题 I use the new reCaptcha with the jQuery Validate plugin. The validation plugin works nice with my form but unfortunately it didn't work with reCaptcha. My attempt to make it work below: HTML: <div class="g-recaptcha" name="recaptcha" id="recaptcha" data-sitekey="XXXXX"></div> Javascript: recaptcha: { required: true } but it didn't worked. Does anyone know how to fix this. I simply need the default This field is required error message. 回答1: You should add hidden input for reCaptcha, cause