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[]"> When I said, a unique name is required, I was not refering to the specs, but to the retrieval of information. So either allow the values to be passed as an array or use an unique name for each and allow the grouping of them with another attribute for validation. Cheers Alexander -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Wednesday, October 10, 2007 8:30 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: validation plugin: validation of checkboxes fail Alexander Graef schrieb: > [...] > This is a wrong scenario, as normally each checkbox has its own unique name within a form. The validation fails if the names are different for each checkbox. How do I chain them for validation with each checkbox having its own name ? > [...] > I have no idea how to identify a group of checkboxes without a common name. And this is the first time I read that checkboxes need a unique name. The HTML spec (http://www.w3.org/TR/html401/interact/forms.html#checkbox) says: > Several checkboxes in a form may share the same control name. <http://www.w3.org/TR/html401/interact/forms.html#control-name> Thus, for example, checkboxes allow users to select several values for the same property. Could you recheck your resources? -- Jörn __________ NOD32 2584 (20071010) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com