Skip to content

Remote validation kills local validation #12

Closed
@cvwillegen

Description

@cvwillegen

I have a couple of controls that are validated via a remote option. The 'success' function calls validator.prepareElement(element), which clears the error list.

I've tracked this bug down by changing a line in jquery.validate.js:918 (the start of the 'remote' function). When I return 'true' there, all the local errors show up. When I let the remote function do its job, the error list gets erased, and then the form is declared 'valid'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions