You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've enhanced the validation error placement for compatibility with Symfony forms and Bootstrap 3, meaning some errors aren't actually attached to fields and get placed way outside of jquery-validates jurisdiction.
Using custom code in showErrors, errorPlacement and highlight/unhighlight this is perfectly possible. Unfortunately when I try to reset the form, jquery-validation can't find these errors, and nor can I add custom code to handle them myself.
If I can add code via the options for showErrors, why can't I do the same with hideErrors? The interface should be symmetric.
Side note: I can monkey-patch the functionality in, but it's a complete butchers.
The text was updated successfully, but these errors were encountered:
Could you send a pull request in order to implement this feature.
As Jörn said:
Even better, make an attempt to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!
I've enhanced the validation error placement for compatibility with Symfony forms and Bootstrap 3, meaning some errors aren't actually attached to fields and get placed way outside of jquery-validates jurisdiction.
Using custom code in showErrors, errorPlacement and highlight/unhighlight this is perfectly possible. Unfortunately when I try to reset the form, jquery-validation can't find these errors, and nor can I add custom code to handle them myself.
If I can add code via the options for showErrors, why can't I do the same with hideErrors? The interface should be symmetric.
Side note: I can monkey-patch the functionality in, but it's a complete butchers.
The text was updated successfully, but these errors were encountered: