![]() |
PHP form not processing via FireFox
I have a PHP script that processes a form, which inbetween calls a javacsript to check the form contents. It works fine in IE, but doesn't in Firefox.
In order for it to completely process in Firefox I have to leave a field blank, let the javascript prompt me that its blank, then click ok, enter the field's value then click submit. I don't really think the javascript is the issue, because I commented it out and i was still not able to process the form by clicking submit in Firefox. The form tag is: <form method="post" action="thephpfile.php" target="_top" onsubmit="return checkform(this);"> ... </form> Maybe the target attribute has something to do with it... I'll check now. Has anyone seen anything similar? |
This should work. I hate cross-browser compatability errors.
Can't suggest anything - sorry. |
Maybe you should post the JavaScript code that you used
|
If the form validates, add a statement to submit the form. If it doesn't validate, don't submit it.
|
| All times are GMT -5. The time now is 3:04 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC