Google ReCAPTCHA how to make required?

You have to use the reCaptcha verify response call back. Something like this: <script src=”https://www.google.com/recaptcha/api.js?onload=reCaptchaCallback&render=explicit”></script> var RC2KEY = ‘sitekey’, doSubmit = false; function reCaptchaVerify(response) { if (response === document.querySelector(‘.g-recaptcha-response’).value) { doSubmit = true; } } function reCaptchaExpired () { /* do something when it expires */ } function reCaptchaCallback () { /* this must be … Read more