eugeniu Posted July 20, 2008 Share Posted July 20, 2008 I've tried both IE6 and IE7, but my form doesn't work for either when I try using the Enter key on the keyboard. But it works just fine on FireFox and Safari. On IE it just displays a welcome message instead of "Correct" or "Incorrect". My form is at http://kanaquest.com. Click on "KanaWords" to get there. Link to comment https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/ Share on other sites More sharing options...
joquius Posted July 20, 2008 Share Posted July 20, 2008 Can you post some actual PHP code to help solve the problem? Link to comment https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/#findComment-595035 Share on other sites More sharing options...
eugeniu Posted July 20, 2008 Author Share Posted July 20, 2008 Why not... I was assuming this was a client-side problem though. Maybe I should have posted this in HTML help. ///////////////////////// // FORM // ///////////////////////// echo "<img src=\"cache/$phpImageNumber.png\"><br> <form id=\"quiz\" action=\"words.php\" method=\"post\" style=\"display:inline;\" onsubmit=\"return __pra()\"> <input type=\"text\" name=\"answer\" size=\"8\" maxlength=\"30\"> <input type=\"submit\" name=\"submit\" value=\">>\"> </form> <br><font size=\"1\"> <font color=\"#ad0008\"><b>~" . $_SESSION['numbercorrect'] . " out of " . $_SESSION['numbertotal'] . " correct~</b></font> <br><a href=\"http://kanaquest.com/main.php\">Home</a> | <a href=\"instructions.php\">Instructions</a>"; Link to comment https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/#findComment-595044 Share on other sites More sharing options...
joquius Posted July 20, 2008 Share Posted July 20, 2008 Interesting I was just thinking the same thing. Link to comment https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/#findComment-595045 Share on other sites More sharing options...
eugeniu Posted July 20, 2008 Author Share Posted July 20, 2008 On the other hand, my form *is* in PHP... Link to comment https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/#findComment-595046 Share on other sites More sharing options...
eugeniu Posted July 21, 2008 Author Share Posted July 21, 2008 Could I request that a mod move this to HTML Help? Link to comment https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/#findComment-595069 Share on other sites More sharing options...
DarkWater Posted July 21, 2008 Share Posted July 21, 2008 The form works when you just click it though, correct? Also, you might want to work on these: Your validation errors. There's a lot. Link to comment https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/#findComment-595071 Share on other sites More sharing options...
eugeniu Posted July 21, 2008 Author Share Posted July 21, 2008 Oh fudgesticks. I guess I better fix all those before asking another question. Link to comment https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/#findComment-595075 Share on other sites More sharing options...
DarkWater Posted July 21, 2008 Share Posted July 21, 2008 Yeah, it's always good to have valid markup. You might also want to add one of those "W3C Validation" buttons on the bottom so you can always check and let others know that your page is validated. Link to comment https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/#findComment-595079 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.