the code for the validation is at lines 5 - 19
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$WAFV_Redirect = "";
$_SESSION['WAVT_productsinsert_231_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateNM($totalRows_validate . "",-1,0,"",",.",true,1);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"productsinsert_231");
}
}
?>
this needs to be moved to line 87, so that validation occurs after the recordset and before the insert.
I always forget to check the code sequence -- thanks Jason. . .