Hi!
I have this about 93% of the way completed, but I’m admittedly not a developer, nor do we have one on staff currently. I hope that someone can tell me what tiny step I’m missing to get this sucker up and working.
In the last month, one of our forms has been attacked by robots filling out fake information (like first name = wjnez) throwing off our stats heavily and causing our call center to chase a lot of wild geese.
Here is what I have loaded in our script manager currently:
<html>
<head>
<title>reCAPTCHA demo: Simple page</title>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function onSubmit(token) {
document.getElementById("demo-form").submit();
}
</script>
</head>
<body>
<form id="lp-pom-form" action="?" method="POST">
<button class="g-recaptcha" data-sitekey="XXredactedXX" data-callback="onSubmit">Submit</button>
<br/>
</form>
</body>
</html>
I went in and updated my buttons to have the class of "g-recaptcha" and made sure to pull the form id into the script as well. The script is located in the head of the page per google’s implementation site.
Any help would be EXTREMELY appreciated. I feel like I have hit a wall.
Thanks!