Yes i have been deciphering your stated example and im fairly new with
jquery and i really never could understand the
$.validator.addMethod("pageRequired", function(value, element))
function. Awesome you are looking into "subforms" cant wait for the
next release :) .Thank you.

On Oct 1, 3:23 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> So far the recommended approach can be seen in this 
> demo:http://jquery.bassistance.de/validate/demo/multipart/
>
> I'm working on a different solution, which should be easier to use,
> where you specify rules for all elements like you're used to, but also
> specify which "subform" should be validated, ignoring everything else.
>
> Jörn
>
> On Mon, Sep 29, 2008 at 9:40 PM, Wokkel <[EMAIL PROTECTED]> wrote:
>
> > Yes i know what you mean with add you can add a validation element and
> > 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 <[EMAIL PROTECTED]> wrote:
> >> lookup the .rules method in the documentation :)
>
> >> On Sep 28, 8:52 pm, Wokkel <[EMAIL PROTECTED]> 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

Reply via email to