colorChoice = form.color.selectedIndex if (form.color.options[colorChoice].value == "") { alert("You must pick a color") return false }