Content-Length: 257079 | pFad | http://github.com/jquery-validation/jquery-validation/issues/1541

0E improvement: add callback ability for hideErrors, like showErrors. · Issue #1541 · jquery-validation/jquery-validation · GitHub
Skip to content

improvement: add callback ability for hideErrors, like showErrors. #1541

@dave-newson

Description

@dave-newson

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/jquery-validation/jquery-validation/issues/1541

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy