Hmm... something else must be amiss then. They were all checked to "Allow Blank Entry". Just to be safe, I unchecked them and saved the changes. Then went back through and rechecked them all. It appears the last of the string stating "false" is what allows a blank entry, and according to the code that is what I have. However, it's still requiring entries on all those before proceeding.
"required" is no where to be found anywhere on the page.
Any other ideas? This is housed only locally so I don't have it up on a server I can point you to easily.
<?php
if ((isset($_POST["Insert"]) || isset($_POST["Insert_x"]))) {
$WAFV_Redirect = "".(htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)) ."?invalid=true";
$_SESSION['WAVT_tblmasterinsert_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateDT((isset($_POST["dateinsert"])?$_POST["dateinsert"]:"") . "",true,"","","",false,"","","",false,1);
$WAFV_Errors .= WAValidateDT((isset($_POST["dateupdate"])?$_POST["dateupdate"]:"") . "",true,"","","",false,"","","",false,2);
$WAFV_Errors .= WAValidateDT((isset($_POST["datestart"])?$_POST["datestart"]:"") . "",true,"","","",false,"","","",false,3);
$WAFV_Errors .= WAValidateDT((isset($_POST["datestop"])?$_POST["datestop"]:"") . "",true,"","","",false,"","","",false,4);
$WAFV_Errors .= WAValidateNM((isset($_POST["weight"])?$_POST["weight"]:"") . "","","","",",.",false,5);
$WAFV_Errors .= WAValidateNM((isset($_POST["price"])?$_POST["price"]:"") . "","","","",",.",false,6);
$WAFV_Errors .= WAValidatePN((isset($_POST["phone"])?$_POST["phone"]:"") . "",false,true,false,7);
$WAFV_Errors .= WAValidatePN((isset($_POST["phone2"])?$_POST["phone2"]:"") . "",false,true,false,8);
$WAFV_Errors .= WAValidatePN((isset($_POST["fax"])?$_POST["fax"]:"") . "",false,true,false,9);
$WAFV_Errors .= WAValidatePN((isset($_POST["mobile"])?$_POST["mobile"]:"") . "",false,true,false,10);
$WAFV_Errors .= WAValidateEM((isset($_POST["email"])?$_POST["email"]:"") . "",false,11);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"tblmasterinsert");
}
}
?>