[jQuery] Re: [validate] grouped select boxes

2009-03-11 Thread Mark King
I did this in the end (created a div called errorcontainer obviously). $(document).ready(function(){ var container = $("#errorcontainer"); container.hide(); $("#regform").validate({ submitHandler: function(form) { if ($("#seasonmembe

[jQuery] Re: [validate] grouped select boxes

2009-03-11 Thread Mark King
I did this in the end (created a div called errorcontainer obviously). $(document).ready(function(){ var container = $("#errorcontainer"); container.hide(); $("#regform").validate({ submitHandler: function(form) { if ($("#seasonmembe

[jQuery] Re: [validate] grouped select boxes

2009-03-11 Thread Jörn Zaefferer
Using the validation plugin, set a required-rule for each field, after removing the value from the 0-option, that is, change it to 0 Jörn On Wed, Mar 11, 2009 at 6:57 AM, Mark King wrote: > > Hi. > > I have two select boxes for differrent classes of tickets , like so: > > > 0 > 1 > 2 > 3 > 4 >