How to add Google reCAPTCHA to any form to reduce spam?

<script src=’https://www.google.com/recaptcha/api.js’></script>

<div class=”g-recaptchadata-sitekey=”REPLACE_WITH_YOUR_KEY_HEREdata-callback=”googlecheck></div>

<script>
jQuery(“button[type=’submit’]”).attr(‘disabled’, ‘disabled’);
function googlecheck() {
jQuery(“button[type=’submit’]”).removeAttr(‘disabled’);
}

</script>

Comment (1)
SEO Reseller
January 23, 2020

Awesome post! Keep up the great work! 🙂

Reply

Leave A Comment