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