- Dallas, TX
- https://about.me/colecmc
Pinned Loading
-
-
noticejs
noticejs PublicEasy to use vanilla js, micro-library to show a notice on screen
JavaScript
-
How to make Google reCAPTCHA a requi...
How to make Google reCAPTCHA a required field? - What you have to do is prevent the form submission until you can validate the user response by using the Google reCaptcha verify callback, then, if it passes, allow the form to submit. Check the documentation: https://developers.google.com/recaptcha/docs/display#example 1var RC2KEY = 'sitekey',
2doSubmit = false;
34function reCaptchaVerify(response) {
5if (response === document.querySelector('.g-recaptcha-response').value) {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.