reCaptcha ( I'm not robot) not working

5,958 views
Skip to first unread message

rajkumar...@reachmena.com

unread,
May 13, 2016, 9:57:56 AM5/13/16
to reCAPTCHA

hi,
I have added the reCaptcha in my form.

even if I didn't check the check box of ( I'm not robot ), the submit form works...

how to stop the submit button without checking  the ( I'm not robot ) reCaptcha



step 1: client side integration 

Paste this snippet before the closing </head> tag on your HTML template:<script src='https://www.google.com/recaptcha/api.js'></script>Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:<div class="g-recaptcha" data-sitekey="*********************************"></div>

did this.

step 2 : for server side integration 

I don't know how to do that? 

please help.

AJ Stuyvenberg

unread,
May 13, 2016, 12:54:05 PM5/13/16
to reCAPTCHA
On the server side you need to check the grecaptcha-response before processing the form data.

To accomplish this, you must POST the response from the user to the siteverify endpoint that Google provides.
It's very well documented here: https://developers.google.com/recaptcha/docs/verify

You'll need to display some sort of error indicating the recaptcha was not completed properly if the `success` value is returned `false`, or if the user did not answer the captcha at all (`response` will be nil when the form is submitted).

It's really quite simple.

Rajkumar Arumugam

unread,
May 16, 2016, 8:51:39 AM5/16/16
to reca...@googlegroups.com
Hi,

still I have no clue what to do?  :( 

<div class="g-recaptcha" data-sitekey="6Le-1B8TAAAAAIzB5K4rDZkIZTyzWbhuBFLlwbqF"></div>

I added this code in my html form. 

next what to do??
have to add any code? if so, where?  

Please help.





Thanks,
Rajkumar Arumugam. 

--
You received this message because you are subscribed to a topic in the Google Groups "reCAPTCHA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/recaptcha/F1z2AOARzag/unsubscribe.
To unsubscribe from this group and all its topics, send an email to recaptcha+...@googlegroups.com.
To post to this group, send email to reca...@googlegroups.com.
Visit this group at https://groups.google.com/group/recaptcha.
For more options, visit https://groups.google.com/d/optout.

AJ Stuyvenberg

unread,
May 17, 2016, 11:07:57 PM5/17/16
to reCAPTCHA
You need to write code in your own application to actually verify the response of the recaptcha. This involves sending the recaptcha parameters from the POST request of your form over to Google for verification, and then processing the response you receive.
I linked to the documentation in my previous post.

Simply including the div tag and javascript is not sufficient to implement a captcha.

Also, you'll want to regenerate your site key, now that you've posted it on a public message board.

Rajkumar Arumugam

unread,
May 18, 2016, 3:07:57 AM5/18/16
to reca...@googlegroups.com
Okay.

I am not asking about verification of the Captcha. 

<form>

** field 1
** field 2

** recaptcha

** submit 

</form>

if i check the i'm not robot , it works fine.. also if its expires the second level verification with choosing pictures also works fine... 

my question is, 

if I click submit without checking the ' i am not robot'.. (recaptcha) still it goes to the next page.. 

like if missed any fields it will show, please fill the field. 
likewise if i miss to check the recaptcha it must show some message.. please enter captcha like that...
for that what should I do? 

Inline image 1


Please help..


Thanks,
Rajkumar Arumugam. 

AJ Stuyvenberg

unread,
May 18, 2016, 7:45:30 PM5/18/16
to reCAPTCHA
Yes. You are asking about verification of Recaptcha.

You have never actually checked to verify the user completed the captcha! That's your responsibility, it's not possible from the captcha to prevent form submission if it isn't completed.

How would recaptcha prevent your form from being submitted until you actually verify the user submitted a recaptcha response? In the same way, you could fail the captcha by selecting incorrect answers, and I imagine your form would still process.

YOU need to implement the error message saying "Please fill out the captcha". Once again, I included a link to the developer documentation describing how to do it.

I don't have any other information to share. You need to validate the user input in the captcha against Google as is described here https://developers.google.com/recaptcha/docs/verify

Dayana Dolce

unread,
May 18, 2016, 9:26:50 PM5/18/16
to reca...@googlegroups.com
i want to ask something here. i have a problem to view the admin console of the recaptcha. so, i cannot register to get Recaptcha.

why is this happened? the page is not loaded.

You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+...@googlegroups.com.

Big Gee

unread,
Jul 3, 2017, 5:37:46 AM7/3/17
to reCAPTCHA
I have exactly the same problem as Rajkumar Arumugam has described, and  I sympathise greatly with him in his frustration, because to be brutally honest the information contained in the documentation is not very good, and is certainly not "well documented" as AJ Stuyvenberg suggests. It is confusing and wordy with no easy explanation for lesser experienced people who have not used reCaptcha before. I can't make head or tail of it either and I'm reasonably well experienced.

Gwilym.

Alien Ware

unread,
Jul 3, 2017, 11:07:48 AM7/3/17
to reCAPTCHA
Ваша дебильная рекапча не работает ни на одном сайте

пятница, 13 мая 2016 г., 21:57:56 UTC+8 пользователь rajkumar...@reachmena.com написал:

Здравствуй,
Я добавил ReCaptcha в моей форме.

даже если я не проверял флажок (я не робот), то представить форму работы ...

как остановить кнопку отправки без проверки (я не робот) ReCaptcha



шаг 1: клиент сторона интеграции 

Вставьте этот фрагмент перед закрывающим <HEAD /> метки на шаблоне HTML: Pas тэ этого фрагмента в конце <форма> , где вы хотите виджет рекапчи появляться:<script src='https://www.google.com/recaptcha/api.js'></script><div class="g-recaptcha" data-sitekey="*********************************"></div>

сделал это.

шаг 2: для интеграции на стороне сервера 

Я не знаю, как это сделать? 

пожалуйста помоги.

Reply all
Reply to author
Forward
0 new messages