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 (2)
SEO Reseller
January 23, 2020

Awesome post! Keep up the great work! 🙂

Reply
anime
February 8, 2021

Hi there. I discovered your blog via Google at the same time as looking for a similar matter, your site got here up. It looks great. I have bookmarked it in my google bookmarks to come back then. Eba Edd Blount

Reply

Leave A Comment