function validate_crm(){ errors = ''; if(document.forms["crm_form_22"]["lead_name_first"].value == "") errors = errors + "\nThe First Name field is required."; if(document.forms["crm_form_22"]["lead_name_last"].value == "") errors = errors + "\nThe Last Name field is required."; if(document.forms["crm_form_22"]["lead_email"].value == "") errors = errors + "\nThe Email Address field is required."; if(document.forms["crm_form_22"]["lead_telephone"].value == "") errors = errors + "\nThe Telephone Number field is required."; if(document.forms["crm_form_22"]["cro_comments"].value == "") errors = errors + "\nThe Comments field is required."; if(errors != ""){ alert(errors); return false; } document.forms["crm_form_22"]["submit"].disabled = true; document.forms["crm_form_22"]["submit"].value = "Please Wait..."; return true; } document.write("
") document.write("
") document.write("

Fields marked with an asterisk (*) are mandatory

") document.write("

") document.write("
") document.write("") document.write("

") document.write("

") document.write("
") document.write("") document.write("

") document.write("

") document.write("
") document.write("") document.write("

") document.write("

") document.write("
") document.write("") document.write("

") document.write("

") document.write("
") document.write("") document.write("

") document.write("") document.write("
")