PDA

View Full Version : Firefox problem only


sales326752
11-06-2009, 11:46 PM
Hi All
I recently discovered that my form (script date approx 24/11/08) had stopped vaildating ONLY on Firefox. IE and Chrome are fine.
Has anyone else had this problem? If so what did you do to fix it?
I know I should update to the latest verson of the form, however the server requires the use of an -f switch and I dont really have time to figure it all out and patch the scripts accordingly.
Any help appreciated.
www.swampsoccer.co.uk/form.php
Warmest regards
Ron

Jason Byrnes
11-09-2009, 10:02 AM
To figure this one out, we will nee to know which form element is failing validation.


first, lets make a copy of the page so we dont mess with the production version. Go to File -> Save As and save a copy as "formTest.php"


Then find the following code on the formTest.php page:

if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
}



change it to:
if ($WAFV_Errors != "") {
die($WAFV_Errors);
PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
}


This will write a comma separated list of the validations that failed to the screen, post this list back and a copy of your page so I can look at the code.