Hello, all.
I am working with the V3 of the reCaptcha, and I have an issue with it.
When the page loads, it loads the flyout reCaptcha on the bottom right of the page.
However, it is not showing the challenge in the form.
<input type="hidden" id="g-recaptcha-response" name="token" />
<script type="text/javascript">
function onClick(e) {
e.preventDefault();
grecaptcha.ready(function () {
grecaptcha.execute('YOU-LOCAL-KEY', { action: 'submit' }).then(function (token) {
// Add your logic to submit to your backend server here.
//console.log('refreshed token:', token);
//document.getElementById("g-recaptcha-response").value = token;
});
});
}
</script>
<script type="text/javascript" src="https://www.google.com/recaptcha/api.js?render=YOUR-LOCAL-KEY"></script>
Any ideas on this would be great.
Thank you.
Wayne
MD5("seeeeecretssss2022-01-22T19:30: 0195884673 25")
(That should produce a hash of 340c3fcdcc0fadcdf67ad53019b489be)
#1 Create a Variable to use (getHash = md5(date&"-"&time))
strgetID = PageName
strgetIt = ID
The cookie looks like this. Response.Cookies("SiteName")(strgetI D&strgetIt )
(Creates different cookies for the page the visitor is viewing, and different records in the database)
#2 Create a Cookie with the value of getHash, which expires in 30 minutes.
#3 Insert the values of getHash and the IP Address into the database.
#4 I am doing a check for the existing cookie. If it does not, create another cookie. If it does, then do not update the database. The cookie lives for 30 minutes before the cookie monster eats it.
Does the JavaScript console in developer tools (hit F12 in your browser) show any errors?