A
A
Alexander Chernousov2020-02-22 13:00:34
reCAPTCHA
Alexander Chernousov, 2020-02-22 13:00:34

Is it possible to redirect to another page when clicking the reCAPTCHA checkbox?

Dear forum users, tell me - is it possible to redirect to another page when you click the reCAPTCHA checkbox? Simply, let's say there is a reCAPTCHA on the page. We click on the checkmark - and immediately the transition to the page is performed. (i.e. without using the "submit" button

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
granty, 2020-02-22
@granty

You can, judging by the topics on staskoverflow: ReCaptcha
: How to autosubmit the form when the cap... .
Google ReCaptcha 2 auto submit but for some reason they do proxying through their server for reCaptcha 2.

A
Alexander, 2020-02-22
@Al6xand6r

Since we are talking about a checkmark, it probably means the visible version 2. Then the element , through which the captcha is inserted on the page, should have the data-callback="js_function_name" attribute. This js_function_name will be called after solving the captcha, and you can do whatever you want there. Read more about recaptcha here: https://developers.google.com/recaptcha/docs/displ...<div class="g-recaptcha">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question