How to add Google reCAPTCHA to any form to reduce spam?
<script src=’https://www.google.com/recaptcha/api.js’></script> <div class=”g-recaptcha” data-sitekey=”REPLACE_WITH_YOUR_KEY_HERE” data-callback=”googlecheck“></div> <script> jQuery(“button[type=’submit’]”).attr(‘disabled’, ‘disabled’); function googlecheck() { jQuery(“button[type=’submit’]”).removeAttr(‘disabled’); } </script>
MORE
Recent Comments