|
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 = "Por favor marque el cuadro al pie de la pagina en lo que se refiere al deposito, indicando que entiende y acepta las condiciones.";
call_user_func('displayForm', $surveyInfo, $msgToUser);
}
}
else { // first time here
$surveyInfo = array("IndustryBreed" => "(Por favor especifique)", "IndustryOther" => "(Por favor especificar)", "Discipline" => "(Por favor especificar)");
call_user_func('displayForm', $surveyInfo, $msgToUser);
}
?>
REGRESE A LA PAGINA DE SEMENTALES |
|