function checkOrderFields(inForm) {
missinginfo = "";
if (inForm.School.value == "") {
missinginfo += "\n     -  School";
}
if(inForm.Principal.value == "") {
missinginfo += "\n     -  Principal's Name";
}
if(inForm.SchoolStreetAddress.value == "") {
missinginfo += "\n     -  Street Address";
}
if(inForm.SchoolCity.value == "") {
missinginfo += "\n     -  City";
}
if(inForm.SchoolZipCode.value == "") {
missinginfo += "\n     -  Postal Code";
}
if(inForm.Country.options[inForm.Country.selectedIndex].text == "--------------------" || inForm.Country.options[inForm.Country.selectedIndex].text == "Select country") {
//missinginfo += "\n     -  Country Selected[" + inForm.Country.selectedIndex + "] = " + inForm.Country.options[inForm.Country.selectedIndex].text;
missinginfo += "\n     -  Country name";
}
if((inForm.Country.options[0].text == "USA" || inForm.Country.options[0].text == "Canada") &&
(inForm.State.options[inForm.State.selectedIndex].text == "--------------------" || inForm.State.options[inForm.State.selectedIndex].text == "Select Province" || inForm.State.options[inForm.State.selectedIndex].text == "Select State"))
{
//missinginfo += "\n     -  State Selected[" + inForm.State.selectedIndex + "] = " + inForm.State.options[inForm.State.selectedIndex].text;
missinginfo += "\n     -  State";
}
if(inForm.TeacherFirstName.value == "") {
missinginfo += "\n     -  Teacher's First name";
}
if(inForm.TeacherLastName.value == "") {
missinginfo += "\n     -  Teacher's Last name";
}
if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"The following fields are required:\n" +
missinginfo + "\n_____________________________" +
"\nPlease re-enter these values and submit again!";
alert(missinginfo);
return false;
}
else return true;
}

