On Mar 18, 2:43 am, "D.Kreft" wrote:
> On Mar 17, 4:53 am, RobG wrote:
>
> > It is much more user friendly to let the user complete the form and
> > submit it. Run validation onsubmit (or onblur of individual fields if
> > you like) and cancel submit if they don't get it right.
>
> > Do not l
On Mar 17, 4:53 am, RobG wrote:
> It is much more user friendly to let the user complete the form and
> submit it. Run validation onsubmit (or onblur of individual fields if
> you like) and cancel submit if they don't get it right.
>
> Do not lock users into getting a field valid before letting
On Mar 16, 7:39 pm, Mac wrote:
> The validate plugin has a success option that enables customization of
> the valid fields on the form
> It takes a string or a function. In the validate plugin documentation
> the example is used to add a class to the label, but since it's a
> function, you could
On Mar 17, 5:02 am, "D.Kreft" wrote:
> A variant of this question pops up on occasion, but none of the
> answers I've seen thus far suit my use case. The solution usually
> involves the recommendation to do something like this:
>
> $(...).validate({
> ...,
> submitHandler: f
The validate plugin has a success option that enables customization of
the valid fields on the form
It takes a string or a function. In the validate plugin documentation
the example is used to add a class to the label, but since it's a
function, you could make it do ...anything.
eg.
$("#myform")
5 matches
Mail list logo