function, and taking all error classes before the form gets validated.
Also I had to create a empty unhighlight function because the original
one from the validate Plugin takes off the error Class from the input.
On Oct 28, 7:08 pm, Thiago Miranda de Oliveira <thiago...@gmail.com>
wrote:
> Hi..
> Well I'm making a form that when it validates, a container is made
> with all error messages together and with the highlight option, I put
> the "error" class in the input element AND it's label. And this works
> fine.
> But when one of this input is validated by the Remote method the
> unhighlight ( which I use to take of this error class if the person
> corrects one or more fields) is called for some reason, and all my
> inputs and labels loses it's "error" class.
> But if I press submit again, it doens't happen as the remote error is
> on the cache so the jquery validate don't make another ajax request.
> Does anyone knows how to fix it?
No comments:
Post a Comment