Callback from reCaptcha when user misses

Asked

Viewed 261 times

0

Is there any google reCaptcha function that is enabled when user misses options ?

1 answer

1


There is no.

Here you can see his documentation.

https://developers.google.com/recaptcha/docs/display

What I use is the grecaptcha.getResponse to know if it has already validated or not. If validated it returns the token that will be sent to the server. If it has not validated it is empty.

What would be the reason to need this? It complements the question that I supplement the answer.

UPDATING:

According to the reasoning of the comment, I don’t know a function of it for this, maybe a javascript getting the focus of some id or recaptcha class.

You can also try the invisible:

I’ve been using it a lot and the user experience is pretty cool.

  • We want to know the fields that the person filled out before entering the captcha challenge, so we know whether or not he is impacting the number of people filling out the form.

  • I updated the answer.

  • The grecaptcha.getresponse helps to know if it has been validated or not, and I already use the invisible captcha. I will try to call a function on the upload button onclick and use getresponse to see if the token has been picked up.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.