Skip to content

Instantly share code, notes, and snippets.

@netdoctor
Last active June 12, 2019 22:29
<!-- Google reCaptcha script -->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<!-- replace email-form with your form's ID. Add one if needed in designer -->
<script>
function onSubmit(token) {
document.getElementById("email-form").submit();
}
</script>
<!-- hide reCaptcha badge to make it invisible.
---- You could remove this style to make the badge visible
---- or set display to inline-block.
---- If you do then it it will show above the submit button.
-->
<style>
.grecaptcha-badge {
display: none;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment