to trouble shoot, change this code:
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"satisfactionsurvey");
}
to:
if ($WAFV_Errors != "") {
die($WAFV_Errors);
PostResult($WAFV_Redirect,$WAFV_Errors,"satisfactionsurvey");
}
this write a comma separated list to the screen showing which validation failed for troubleshooting.