|
trim($_POST['gender']), "Age" => trim($_POST['age']), "Income" => trim($_POST['income']), "Horsemanship" => trim($_POST['horsemanship']), "Industry" => $industry, "IndustryBreed" => $industryBreed, "IndustryOther" => $industryOther, "Discipline" => $discipline, "Timeframe" => trim($_POST['timeframe']), "Comments" => trim($_POST['comments']), "EmailAddress" => trim($_POST['emailAddress']));
if (! (empty($_POST['confirmDeposit']))) { // submission can be sent
// send email to Cuatro L
call_user_func('sendEmail', $surveyInfo);
}
else { // form is incomplete
$msgToUser = "Please check the box at the bottom of the form beside the details about the deposit, indicating you understand.";
call_user_func('displayForm', $surveyInfo, $msgToUser);
}
}
else { // first time here
$surveyInfo = array("IndustryBreed" => "(please specify breed)", "IndustryOther" => "(please specify role)", "Discipline" => "(please specify)");
call_user_func('displayForm', $surveyInfo, $msgToUser);
}
?>
BACK TO
SALES |
|