Hi, thanks :) How would I reference the name for the rule and message preferences ?
Using test[] would break the javascript, can I use 'test[]' as the key value? Will give it a try. Cheers Alexander -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Thursday, October 11, 2007 6:26 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: validation plugin: validation of checkboxes fail Alexander Graef schrieb: > Hi, > > For the multi select: > <select name="test[]" multiple="multiple"> > <option value="one">one</option> > <option value="two">two</option> > <option value="three">three</option> > <option value="four">four</option> > <option value="five">five</option> > </select> > > This allows you to pass the selected items via a form post and receive them > as an array. > > Same applies for the checkboxes: > > Steak:<input type="checkbox" value="Steak" name="food[]"> > Pizza:<input type="checkbox" value="Pizza" name="food[]"> > Chicken:<input type="checkbox" value="Chicken" name="food[]"> > If your serverside prefers that format, thats the way to go. The 1.1 release may have a problem with those, until 1.2, please give the latest revision a try: http://dev.jquery.com/view/trunk/plugins/validate/ Regards Jörn __________ NOD32 2586 (20071011) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com