﻿function validate() {
if (document.getElementById("rendinanom").submit_name.value=="") {
window.alert("Please fill in your name"); return false; }
if (document.getElementById("rendinanom").submit_email.value=="") {
window.alert("Please enter your email address"); return false; }
if (document.getElementById("rendinanom").submit_phone.value=="") {
window.alert("Please enter your phone number"); return false; }
if (document.getElementById("rendinanom").submit_address.value=="") {
window.alert("Please enter your address"); return false; }
if (document.getElementById("rendinanom").submit_city.value=="") {
window.alert("Please enter your city"); return false; }
if (document.getElementById("rendinanom").submit_state.value=="") {
window.alert("Please enter your state"); return false; }
if (document.getElementById("rendinanom").submit_zip.value=="") {
window.alert("Please enter your zip or postal code"); return false; }
if (document.getElementById("rendinanom").nom_name.value=="") {
window.alert("Please enter the Nominee's name"); return false; }
if (document.getElementById("rendinanom").nom_email.value=="") {
window.alert("Please enter the nominee's email address"); return false; }
if (document.getElementById("rendinanom").nom_phone.value=="") {
window.alert("Please enter the nominee's phone number"); return false; }
if (document.getElementById("rendinanom").nom_address.value=="") {
window.alert("Please enter the nominee's address"); return false; }
if (document.getElementById("rendinanom").nom_city.value=="") {
window.alert("Please enter the nominee's city"); return false; }
if (document.getElementById("rendinanom").nom_state.value=="") {
window.alert("Please enter the nominee's state"); return false; }
if (document.getElementById("rendinanom").nom_zip.value=="") {
window.alert("Please enter the nominee's zip or postal code"); return false; }
if (document.getElementById("rendinanom").nom_explain.value=="") {
window.alert("Please explain why you are nominating this person for the Carpe Diem Award"); return false; }
if (document.getElementById("rendinanom").val_numbers.value=="") {
window.alert("Please fill in the validation numbers"); return false; }
}

