on the enquiry form page, the code to generate the captcha image is:
<img id="capt1" src="webassist/captcha/wavt_captchasecurityimages.php?width=200&height=50&field=sec_question_2&bgcolor=FFFFFF&transparent=0&bgimage=&gridfreq=20&gridcolor=000000&gridorder=behind&noisefreq=20&noisecolor=000000&noiseorder=behind&characters=5&charheight=&font=fonts/MACTYPE.TTF&textcolor=000000" alt="security code" width="200" height="50" />
one of the URL variables being passed is named field:
field=sec_question_2
this is uses to set the name of the session that will be created. the session name gets created as captcha_<field value>. so in this case the name of the session will be:
captcha_sec_question_2
in the server validation you are using the session named captcha_sec_question instead:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["sec_question"])?$_POST["sec_question"]:"")) . "",((isset($_SESSION["captcha_sec_question_2"]))?strtolower($_SESSION["captcha_sec_question_2"]):"") . "",true,5);
that code should be:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["sec_question"])?$_POST["sec_question"]:"")) . "",((isset($_SESSION["captcha_sec_question"]))?strtolower($_SESSION["captcha_sec_question"]):"") . "",true,5);
same issue with the we buy boats form. the captcha image code is:
<img id="capt1" src="webassist/captcha/wavt_captchasecurityimages.php?width=200&height=50&field=capcha_2&bgcolor=FFFFFF&transparent=0&bgimage=&gridfreq=20&gridcolor=000000&gridorder=behind&noisefreq=20&noisecolor=000000&noiseorder=behind&characters=5&charheight=&font=fonts/MACTYPE.TTF&textcolor=000000" alt="security code" width="200" height="50" />
the field varioable in that code is:
field=capcha_2
so the session being created will be named:
captcha_capcha_2
in the validation you are using the session named captcha_capcha:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["capcha"])?$_POST["capcha"]:"")) . "",((isset($_SESSION["captcha_capcha"]))?strtolower($_SESSION["captcha_capcha"]):"") . "",true,8);
it should be using the captcha_capcha_2 session
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["capcha"])?$_POST["capcha"]:"")) . "",((isset($_SESSION["captcha_capcha_2"]))?strtolower($_SESSION["captcha_capcha_2"]):"") . "",true,8);