the manual states "Adds to an element which is already required.". So
you can add validation rules to an existing element. But I want a new
set of validation rules. For instance you have DIV1 with name, e-mail
and DIV2 with zipcode country and adress. I want to "continue to step
2" button to validate only name and e-mail and the step 2 button to
validate zipcode country and adress. So you have a var checkPage1 with
the first validation rules and checkPage2 with the second validation
rules and validate them accordingly. Would that be possible?
On Sep 29, 11:01 am, Gordon <gordon.mc...@ntlworld.com> wrote:
> lookup the .rules method in the documentation :)
>
> On Sep 28, 8:52 pm, Wokkel <moep...@gmail.com> wrote:
>
> > Hi all,
>
> > I am successfully using the validation plug in and i would like a
> > request to make it more easier to have a form in several different
> > "divs" for a multi step layout.
>
> > I solved a multi page form by filling in already the values of the
> > step2 and 3 inputs and then validating it and then when the user goes
> > to step 2 or 3, clearing the fields. Would it be nice if there can be
> > like a "ValidationAdd" function where you can add validation rules
> > dynamically, so you can make a multipage form easier.
>
> > Thank you very much
>
> > Wokkel
No comments:
Post a Comment