function validate(){
  var errors = '';
  if (!document.rfpform.mktsegment.value) errors += "Market Segment \n";
  if (!document.rfpform.contactfname.value) errors += "Contact First Name \n";
  if (!document.rfpform.contactlname.value) errors += "Contact Last Name \n";
  if (!document.rfpform.company.value) errors += "Company \n";
  if (!document.rfpform.phone.value) errors += "Phone Number \n";
  if (!document.rfpform.email.value) errors += "Email Address \n";
  
  if (errors){
    alert("Please fill in the following fields:\n"+errors);
    return false;
  }else{
    return true;
  }
}
