[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 option value0/option Jörn On Wed, Mar 11, 2009 at 6:57 AM, Mark King m...@ampersand.net.au wrote: Hi. I have two select boxes for differrent classes of tickets

[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

[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