Skip to main content

All Questions

Tagged with
104 votes
17 answers
424k views

reCAPTCHA ERROR: Invalid domain for site key

I have implemented my reCAPTCHA in line with as is shown in the example. I have this script in the head tag: <script src="https://www.google.com/recaptcha/api.js"></script> In my form ...
BlessedHIT's user avatar
  • 1,971
82 votes
11 answers
88k views

Google reCaptcha response "Uncaught (in promise) null"

I'm use reCaptcha v2 but in dev console response Uncaught (in promise) null in in any case (and moving the .reset() function) console: my code for recaptcha: <div class="text-xs-center" style="...
FABBRj's user avatar
  • 980
65 votes
12 answers
173k views

How to Validate Google reCaptcha on Form Submit

Recently, Google completely overhauled their reCaptcha API and simplified it to a single checkbox. The problem is, I can submit a form with the reCaptcha included without checking it and the form ...
Drew Kennedy's user avatar
  • 4,168
60 votes
8 answers
96k views

How can I make reCAPTCHA a required field?

I'm using Google reCAPTCHA and have been able to add the CAPTCHA component to my page inside a form. But when I submit the form there's no validation taking place to check if the CAPTCHA has been ...
Baikare Sandip's user avatar
38 votes
8 answers
30k views

How can I process HTML form validation before reCAPTCHA's validation?

I integrated the new hidden reCAPTCHA (v2) framework which by default verifies the user with the click event of the submit button. But this event is triggered before the built-in HTML form validation. ...
Julio Guerra's user avatar
  • 5,623
36 votes
5 answers
84k views

Implement the new Invisible reCaptcha from Google

I'm building a PHP website where I would like to put a captcha on the login form. I went with Google's new Invisible reCaptcha but I'm having trouble with implementing it (HTML part, the PHP is ...
L.Johnson's user avatar
  • 465
36 votes
3 answers
10k views

Recaptcha creates iFrame on page, breaks styling

Recaptcha is adding a "This frame prevents back/forward cache problems in Safari" iFrame to the top of my website (code included below), which is pushing off the styling by 20-30px (approximately). ...
Walker's user avatar
  • 133k
34 votes
3 answers
16k views

How to run reCaptcha ONLY if HTML5 validation has passed?

Usually, HTML5 form validation runs before the submit event. With this <form id="myForm"> <input type="text" name="foo" required /> <button type="submit"> Submit </...
Andrea Ligios's user avatar
32 votes
14 answers
71k views

No CAPTCHA reCAPTCHA Resizing

Hi I just added Google's No CAPTCHA reCAPTCHA to my website, and I am running into a small little issue. It does NOT fit on my mobile website, and that is a HUGE issue. I have tried everything such as:...
michael jones's user avatar
25 votes
8 answers
55k views

Google reCAPTCHA - keep getting `incorrect-captcha-sol`

I am trying to add a reCAPTCHA to my site, but keep getting incorrect-captcha-sol error when I submit the answer. Can anyone tell me if I am correct in doing the following? I have a generic index.php, ...
Anriëtte Myburgh's user avatar
22 votes
4 answers
38k views

Difference between CAPTCHA and reCAPTCHA

What are the differences between CAPTCHA and reCAPTCHA? What is the best situation to opt for reCAPTCHA?
Neha Prakash's user avatar
19 votes
4 answers
53k views

Explicitly Rendering ReCaptcha - Onload Function Not Firing

From the documentation I understood that in order to change the language of the recaptcha I have to render it explicitly. The problem is, however, that it's not really showing up, and the onload ...
Gofilord's user avatar
  • 6,469
18 votes
3 answers
54k views

Uncaught Error: ReCAPTCHA placeholder element must be an element or id

I'm adding ReCAPTCHA to a (Bootstrap Jekyll) website that has multiple contact forms. There's a popup modal in the footer, an occasional "contact us now" section, and also a "request more information ...
avp's user avatar
  • 391
16 votes
2 answers
1k views

reCAPTCHA stopped working - Invalid Encryption

I have been using reCAPTCHA on my site for a while now and suddenly I realized it has stopped to work. The reCAPTCHA is there, however after verifying correctly, the response FAILS which makes the ...
Emir Husic's user avatar
15 votes
2 answers
14k views

Invisible google Recaptcha and ajax form

I have an ajax form: <form id="my_form"> <input type="text" id="field1" /> <input type="submit" value="submit" /> </form> And js code: document.getElementById("...
Kuqa's user avatar
  • 461

15 30 50 per page
1
2 3 4 5
30