Take a closer look at the multipart demo and its custom
pageRequired-method - thats key!

Jörn

On Wed, Sep 2, 2009 at 11:24 PM, seezee<debbil...@gmail.com> wrote:
>
> i posted this to the plugin group, but it appears to be a dead forum
> -- last post was february. i'm trying to combine features of these 2
> demos:
>
> http://jquery.bassistance.de/validate/demo/milk/
> http://jquery.bassistance.de/validate/demo/multipart/
>
> specifically, i want the ability to use custom error messages and to
> declare conditions in the page head, as in the 1st demo, as well as to
> use the accordion feature of the 2nd. if i use the code from the milk
> demo in the head, e.g.,
>
> $(document).ready(function() {
>        // validate signup form on keyup and submit
>        var validator = $("#signupform").validate({
>                rules: {
>                        [rules]
>                },
>                messages: {
>                        [messages]
>                },
>        });
> }
>
> validation runs on the entire form, including the sections not yet
> made visible. this prevents the 'next' button from operating, so the
> accordion won't expand. if i assign a unique id to the each fieldset &
> run separate validations for each fieldset, the accordion works, but
> the validation stops working. i'm pretty lousy at javascript, so i
> could sure use some help. has anyone else out there successfully tried
> this?
>

Reply via email to