$WAFV_Errors .= WAValidateLE($_SESSION['captcha_Security_Code_1'] . "",$_SESSION['captcha_Security_Code_1'] . "",true,1);
Should be:
$WAFV_Errors .= WAValidateLE($_SESSION['captcha_Security_Code_1'] . "",$_POST['verify'] . "",true,1);
Thanks Ray!
I should have seen that. The validation seems to work because the form does not refresh to the confirmation content now, so now all that I need is to figure how to alter the show if that I've applied in the validations on the contact.php page:
} else if (ValidatedField('contact_413','contact_413')) {
if((strpos((",".ValidatedField("contact_413","contact_413").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
echo '<div class="error_message">Attention! The CAPTCHA code you entered is incorrect.</div>';
//WAFV_Conditional contact.php contact_413(1:)
exit();
}
}
}
It appears that possible the second contact_413 value should be the 'verify' value - but I'm just guessing. Any pointers would be most welcome!
Thanks!