// Form Checkers

<!--
function checkForm(TheForm) {
// check name, email exists, email matches

if (TheForm.fullname.value.length == 0) {
   alert("Please enter your name");
   return false;
}

if (TheForm.email.value.length == 0) {
   alert("Please enter your email address");
   return false;
}

if (TheForm.subject.value.length == 0) {
   alert("Please enter your subject");
   return false;
}

if (TheForm.message.value.length == 0) {
   alert("Please enter your message");
   return false;
}

  return true;
} // end function checkForm


function checkConsultationForm(TheForm) {
// check name, email exists, etc.

if (TheForm.YourName.value.length == 0) {
   alert("Please enter your name.");
   return false;
}

if (TheForm.YourNumber.value.length == 0) {
   alert("Please enter your phone number.");
   return false;
}

if (TheForm.ContactEmail.value.length == 0) {
   alert("Please enter your email address.");
   return false;
}

if (TheForm.CallingFromLocation.value.length == 0) {
   alert("Please enter the location you are calling from.");
   return false;
}

if (TheForm.BirthDate.value.length == 0) {
   alert("Please enter your birth date.");
   return false;
}

if (TheForm.InvoiceID.value.length == 0) {
   alert("Please enter your Invoice ID!");
   return false;
}

if (TheForm.PurchaseEmail.value.length == 0) {
   alert("Please enter the email address used for Chakra and GTP purchases.");
   return false;
}

if (TheForm.ConsultationDescription.value.length == 0) {
   alert("Please enter a description of the issues you would like to discuss.");
   return false;
}

if (TheForm.BestTimeDay.value.length == 0) {
   alert("Please enter the best time(s) and day(s) for your consultation.");
   return false;
}

return true;
} // end function checkConsultationForm

-->
