The trigger for the form validation should be the same as the trigger for the email or else it could be bypassed.
You are using Required Entry validation instead of Like Entry validation... That would only ensure they enter a value, not the correct one.
Fixing those two issues you should get something like:
<?php require_once("webassist/form_validations/wavt_scripts_php.php"); ?>
<?php require_once("webassist/form_validations/wavt_validatedform_php.php"); ?>
<?php require_once("../webassist/email/WA_Email.php"); ?>
<?php
if (isset($_POST["addcontent"]) || isset($_POST["addcontent_x"])) {
$WAFV_Redirect = "";
$_SESSION['WAVT_inclcontactinfo_510_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateLE(strtolower(((isset($_POST["Security_Code"]))?$_POST["Security_Code"]:"")) . "",strtolower($_SESSION["captcha_Security_Code_1"]) . "",true,1);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"inclcontactinfo_510");
}
}
?>
<?php
if (isset($_POST["addcontent"]) || isset($_POST["addcontent_x"])) { //WA Universal Email
$Email = new WA_Email("incl_contactinfo");
$Email->From = "".((isset($_POST["Email"]))?$_POST["Email"]:"") ."";
$Email->addTo("randyrie@rjrwebz.com");
$Email->BodyFile = "../email_block.php";
if (function_exists("rel2abs") && $Email->Redirect) $Email->Redirect = $Email->Redirect?rel2abs($Email->Redirect,dirname(__FILE__)):"";
for ($emailGroup=0; $emailGroup<sizeof($Email->To); $emailGroup++) {
$Email->Subject = "Contact Form from RjRwebs";
$Email->send($emailGroup);
}
$Email->close();
}
?>