// FORM VALIDATOR
// t-shirts

function validateForm() {
with (document.leFormulaire) {
var alertMsg = "The following REQUIRED fields\nhave been left empty:\n";

if (os0.options[os1.selectedIndex].value == "") alertMsg += "\nModel";// multiply this line to add a drop menu
if (os0.options[os0.selectedIndex].value == "") alertMsg += "\nSize";

if (alertMsg != "The following REQUIRED fields\nhave been left empty:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }