1) the code that generates the captcha sets the name of the captcha session using:
field=fieldset_group_Security_code_2
this genreates the session as:
captcha_fieldset_group_Security_code_2
in the server validation, you are using
captcha_fieldset_group_Security_code
change:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["fieldset_group_Security_code"])?$_POST["fieldset_group_Security_code"]:"")) . "",((isset($_SESSION["captcha_fieldset_group_Security_code"]))?strtolower($_SESSION["captcha_fieldset_group_Security_code"]):"") . "",true,3);
to:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["fieldset_group_Security_code"])?$_POST["fieldset_group_Security_code"]:"")) . "",((isset($_SESSION["captcha_fieldset_group_Security_code_2"]))?strtolower($_SESSION["captcha_fieldset_group_Security_code_2"]):"") . "",true,3);
2) validation failure is saved in a session.
once failure occures, you will see the validation errors untill:
a) ryou restart the browser
or:
b) Submit successfully
3) Yes, the validation errors for server and jquery are the same.
you can edit the server validation error messages by editing the code in the show if, and the jquery error by editing the
title attribute of the form tags.
4) yes, spry was replaced by jquery.