function verify() {
var themessage = "You are required to complete the following fields: ";
if (document.registration.email.value=="") {
themessage = themessage + " - Assembly Representative Email";
}
if (document.registration.lname.value=="") {
themessage = themessage + " -  First Name";
}
if (document.registration.fname.value=="") {
themessage = themessage + " -  Last Name";
}
if (document.registration.address.value=="") {
themessage = themessage + " -  Address";
}
if (document.registration.city.value=="") {
themessage = themessage + " -  City";
}
if (document.registration.zip.value=="") {
themessage = themessage + " -  Zip";
}
if (document.registration.phone.value=="") {
themessage = themessage + " -  Phone Number";
}
if (document.registration.emergencycontact.value=="") {
themessage = themessage + " -  Emergency Contact";
}
if (document.registration.ernumber.value=="") {
themessage = themessage + " -  Emergency Contact Number";
}
//alert if fields are empty and cancel registration submit
if (themessage == "You are required to complete the following fields: ") {
document.registration.submit();
}
else {
alert(themessage);
return false;
   }
}