Complex Multiple Drop-Down Script
Hi All,
I have a somewhat complex script that I need help on; well, at least to me it is pretty complex. :-)
I have 7 drop-down selections. All with IDENTICAL "OPTION VALUE" but with different "SELECT NAME." In other words, I have 7 of the drop-downs below(but each with a different name: sundaymode, mondaymode, tuesdaymode, ect.)
<select name="sundaymode" id="sundaymode">
<option value = "0"> -Commute Mode-</option>
<option value = "1"> Weekend Day Off</option>
<option value = "2"> Vacation Day Off</option>
<option value = "3"> Sick Day Off</option>
</select>
Here is what i want the script to do. If a user select "Vacation Day off" twice from ANY of the 7 drop-down menus, he/she will get an error message saying "you can only select one "Vacation Day off." Please help. I truly don't know where to begin.
Thank you.
Leon
|