[jQuery] Re: [validate] grouped select boxes

2009-03-11 Thread Mark King
} }); }); On Mar 11, 6:13 pm, Jörn Zaefferer wrote: > Using the validation plugin, set a required-rule for each field, after > removing the value from the 0-option, that is, change it to value"">0 > > Jörn > > On Wed, Mar 11, 2009 at 6:57 AM, Ma

[jQuery] Re: [validate] grouped select boxes

2009-03-11 Thread Mark King
} }); }); On Mar 11, 6:13 pm, Jörn Zaefferer wrote: > Using the validation plugin, set a required-rule for each field, after > removing the value from the 0-option, that is, change it to value"">0 > > Jörn > > On Wed, Mar 11, 2009 at 6:57 AM, Ma

[jQuery] [validate] grouped select boxes

2009-03-10 Thread Mark King
Hi. I have two select boxes for differrent classes of tickets , like so: 0 1 2 3 4 5 0 1 2 3 4 5 I want to validate that at least one ticket has been purchased. I would like to try to do this with the validate plugin, more for the purposes of R&D than anything else (I could write some code t

[jQuery] [validate] at least one of four fields

2009-02-12 Thread Mark King
I have a form with four text fields where one must be completed - then each has their own validation rules (so if a field is not blank it must validate, but it can be blank as long as at least one other is completed). How can I code this using the validate plugin?