Javascript is a little clumsy and I wouldn't use it for much of ANYTHING if you have access to something like PHP. Do the validation in PHP.
IE: (if you have the [] on the end of a multi-select list it will automatically make it an array)
foreach(selectListName as $selectListItem)
{
do validation on $selectListItem
}
That's it, you're done. You'll need to fill in the blanks and such but that's the basic workings of it all.