function chkContactForm() {
  ff = eval("document.cForm");
  if (ff.patient_first_name.value == "") {
    alert("Please enter the patient's first name.");
    ff.patient_first_name.focus();
    return false;
  }
  else if (ff.patient_last_name.value == "") {
    alert("Please enter the patient's last name.");
    ff.patient_last_name.focus();
    return false;
  }
  else if (ff.patient_dob_month.value == "") {
    alert("Please enter the patient's date of birth birth month.");
    ff.patient_dob_month.focus();
    return false;
  }
  else if (ff.patient_dob_day.value == "") {
    alert("Please enter the patient's date birth day.");
    ff.patient_dob_day.focus();
    return false;
  }
  else if (ff.patient_dob_year.value == "") {
    alert("Please enter the patient's birth year.");
    ff.patient_dob_year.focus();
    return false;
  }
  else if ((ff.patient_account_id.value == "") && (ff.patient_invoice_id.value == "")) {
    alert("Please enter the patient's account number or an invoice number.");
    ff.patient_account_id.focus();
    return false;
  }
  else if (ff.billing_first_name.value == "") {
    alert("Please tell us the billing first name.");
    ff.billing_first_name.focus();
    return false;
  }
  else if (ff.billing_last_name.value == "") {
    alert("Please tell us the billing last name.");
    ff.billing_last_name.focus();
    return false;
  }
  else if (ff.billing_address1.value == "") {
    alert("Please tell us the billing address.");
    ff.billing_address1.focus();
    return false;
  }
  else if (ff.billing_city.value == "") {
    alert("Please tell us the billing city.");
    ff.billing_city.focus();
    return false;
  }
  else if (ff.billing_state.value == "") {
    alert("Please select the billing state.");
    ff.billing_state.focus();
    return false;
  }
  else if (ff.billing_zip.value == "") {
    alert("Please tell us the billing zip code.");
    ff.billing_zip.focus();
    return false;
  }
  else if (ff.billing_phone.value == "") {
    alert("Please tell us the billing phone number.");
    ff.billing_phone.focus();
    return false;
  }
  else if (ff.billing_email.value == "") {
    alert("Please enter a valid email address for the payee.");
    ff.billing_email.focus();
    return false;
  }
  else if ((ff.payment_amount.value == "") || (isNaN(ff.payment_amount.value))) {
    alert("Please enter the a payment amount in the form of a valid integer (numbers and decimal place only).");
    ff.payment_amount.focus();
    ff.payment_amount.select();
    return false;
  }
  else if (ff.ct.value == "") {
    alert("Please select a credit card type.");
    ff.ct.focus();
    return false;
  }
  else if (ff.cn.value == "") {
    alert("Please enter your credit card number.");
    ff.cn.focus();
    return false;
  }
  else if (ff.exm.value == "") {
    alert("Please select your credit card's expiration month.");
    ff.exm.focus();
    return false;
  }
  else if (ff.exy.value == "") {
    alert("Please select your credit card's expiration year.");
    ff.exy.focus();
    return false;
  }
  else if (ff.cvv.value == "") {
    alert("Please enter the 3-digit CVV code on the back of your credit card.");
    ff.cvv.focus();
    return false;
  }
  else {
    ff.subtn.value = "Submitting for review...";
    ff.subtn.disabled = true;
    return true;
  }
}