FriendlyCaptcha validation with disabled Javascript #487
muratbinerbay
started this conversation in
General
Replies: 1 comment
-
|
@muratbinerbay Thanks for the share! I guess we can live with that, since all those providers require javascript to populate the score field. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
we realised something about the FriendlyCaptcha validation and wanted to post it, incase it helps anyone else:
FriendlyCaptchafield in aFieldsetwith the formSubmitfield (so only 2 fields in this fieldset).After debugging we saw that the
FriendlyCaptchaValidatorclass was never called, I assume because there is no input field generated in the fieldset.We were able to solve the problem by adding a
Hidden Typeto the fieldset that contained theFriendlyCaptcha. So if Javascript is disabled on the page, theFriendlyCaptchaValidatorwill catch it.Beta Was this translation helpful? Give feedback.
All reactions