I have a quick question… where should I enter the secret key of my recaptcha if I do it not via Webflow component but via custom code ?
The custom code for a recaptcha seems to look like this:
<form action="something.php" method="post"> <input type="text" size="40" name="name"> <div class="g-recaptcha" data-sitekey="xxxx" data-callback="enableBtn"></div> <input type="button" value="Submit" id="buttonLock"> </form> <!-- recaptcha library --> <script src='https://www.google.com/recaptcha/api.js'></script>
Here the simplified codepen
However, I only see where to put the sitekey and not the secret key ?
Any idea ?
The reason I’m asking is because I need to setup a callback on the recaptcha itself, so that when the recaptcha is checked, the submit button is enable again…