excelwebzone / EWZRecaptchaBundle

This bundle provides easy reCAPTCHA form field for Symfony.
MIT License
395 stars 160 forks source link

HTML5 validation ignored #183

Open mikemix opened 7 years ago

mikemix commented 7 years ago

If using your callback, form's html5 validation rules are completely ignored. Script should check first if form is valid before trying to submit it.

Possible solution is to bind the callback to the form's submit method instead of directly to the button. I guess that would be a BC break though.

TomBerriot commented 4 years ago

Hey, this also an issue for us. It broke on HTML 5 register validation and we did not notice it. ^^