-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reCaptcha not stopping a form from sending? #14
Comments
How does this work? I am having same issue. Form just submits. I assume we need the server side response object but isn't that part of this plugin? |
Same issues here, anyone ever got this to work? |
Same here |
Same. |
Go to craft/plugins/contactform/controllers/ContactFormController.php at line 34 adding:
My contact page is And the in html/twig, you can do
to grab the error. This is temporary fix, and the important thing is its working. |
I was able to install and have reCaptcha show successfully on the footer of a site I'm editing (but did not develop). The form—pixelandtonic's contact form—is meant to get a visitor's name and email address.
However, the form still validates even though I didn't check the reCaptcha panel. I only have {{craft.recaptcha.render('dark', 'compact')}} on the page. I tried to include the saveuser code from the readme, but I don't think it's necessary for what I use the form for.
What am I missing?
The text was updated successfully, but these errors were encountered: