-
Notifications
You must be signed in to change notification settings - Fork 80
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 validated client-side #139
Comments
I think your config has a typo, should be:
|
Oops nice catch ! But that's not the error I was talking about, as this only affects server-side validation (which works fine, provided I correct the typo). I think users shouldn't be able to submit the form if the captcha isn't set. Looking at the source, it seems
isn't used anywhere in the |
Captcha is handled on form submission, there is no client-side ajax ability. This is because its a Google-provided verification service that only works with submitted forms. |
Yes I know it's not possible to validate if the captcha is entered correctly client side, but still it's possible to know whether it was filled at all. In the end, the captcha field renders as a normal input element (it's just hidden). I'm just testing, and this extremely dirty workaround seems to do the trick :
I'think the required attribute |
By the way, it seems to be possible to validate the captch client side using |
Please reopen this issue as the rationale for closing is not valid. Again, we're not talking about validating the captcha client-side, but validating whether it's populated client-side (e.g. enforce the "required" parameter). |
Looking into |
This should do it. @olivierdalang Can you test? |
Closing because due to issue age. Please re-open if you continue to have issues |
Hi !
I added a recaptcha to my form and set it to required.
But I'm still able to submit the form even if I didn't fill the recaptcha.
Here's my form.md
The text was updated successfully, but these errors were encountered: