Send us an Email
If you have a question or comment, please feel free to complete the form below. We will get back to you as soon as possible. Thank you!
Note: The Institute is a research institute and does not provide clinical services at this time, please go to the Health Resources page for links to services and information.
/*** BEGIN SUBMIT FORM MAGIC ***/
if ($submit) {
if (!$firstname || !$lastname || !$email || !$description) {
/*** BELOW IS THE HTML THE USER WILL SEE IF THEY ATTEMPT TO SUBMIT AN IMPROPERLY COMPLETED FORM ***/
/*** YOU CAN CHANGE THE HTML BELOW TO SUIT YOUR NEEDS ***/
$errorMessage = '
Please be sure you have filled all required fields. ';
$errorStyle = ' style="color:#ff0000;"';
$errorIcon = '

';
} else {
/*** PROCESS FORM -- BELOW IS WHAT YOU'LL SEE IN THE EMAIL YOU WILL RECEIVE... ***/
/*** YOU CAN CHANGE THE HTML BELOW TO SUIT YOUR NEEDS -- BUT BE CAREFUL WITH THE FORM FIELD NAMES ***/
$msg = "::::::: FORM SUBMITTED FROM MY WEBSITE :::::::\n\n";
$msg .= "Name:\t$firstname $lastname\n";
$msg .= "eMail:\t$email\n\n";
$msg .= "Company:\t$company ($url)\n\n";
$msg .= "Found us via $foundus\n\n";
$msg .= "Comments:\n";
$msg .= "$description\n\n";
/*** NECESSARY STUFF FOR THE EMAIL HEADERS ***/
$mailheaders = "From: $email\n";
$mailheaders .= "Reply-To: $email\n";
$mailHeaders .= "X-Mailer: the erickson form-o-matic\n";
$mailHeaders .= "X-Priority: 1\n";
/*** CHANGE THE STUFF BETWEEN THE QUOTES TO YOUR NEEDS -- THE 1st SET IS FOR YOUR EMAIL, THE 2nd FOR YOUR SUBJECT LINE !!!DON'T CHANGE THE $msg AND $mailheaders!!! ***/
mail("info@imhr.org", "website comments (form)", $msg, $mailheaders);
/*** BELOW IS THE HTML RESULT THE USER WILL SEE AFTER THE FORM IS SUBMITTED ***/
/*** YOU CAN CHANGE THE HTML BELOW TO SUIT YOUR NEEDS ***/
echo "
Thank you, $firstname, for your comments!";
}
}
/*** END SUBMIT FORM MAGIC ***/
?>
// -- DON'T DELETE!
if (!$submit || $errorMessage) {
?>
} //END IF -- DON'T DELETE! ?>