Closed
Bug 320234
Opened 19 years ago
Closed 14 years ago
FF uses hidden submit button to submit page
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: dhmderuiter, Unassigned)
Details
(Whiteboard: [CLOSEME 5-15-2010])
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
well it's a bit a strange bug, not even sure if it's a bug... I use some controls from www.telerik.com for my asp.net pages, one of them being a tabstrip. For example I have two tabs, one enabled, one disabled and under both tabs different pages with own textfields (with required field validators, javascript) and submit buttons. When I'm inside the first page (under tab 1) I set the focus on a textbox and I hit enter. Intended use is that the javascript for the required field validator should warn that the textbox value is empty and stop the submit (this happens ok when clicking on the submit button, and also in other browsers when hitting enter in the textbox). In FF it seems to use the hidden button from the another tab when using enter inside a textbox. I hope this makes sense.
Reproducible: Always
Steps to Reproduce:
Difficult to reproduce, as you probably need to see the html source to understand what is the problem. I use a tabstrip components from www.telerik.com and Required FieldValidators from www.peterblum.com (both have trial versions), with that you can reproduce it. Also, don't hesitate to contact me at dhmderuiter@hotmail.com, as I can give you source, more explanations, etc.
Actual Results:
Submits the wrong stuff, and therefore creates serverside errors.
Expected Results:
Fire javascript, but it ignores that and just submits the page.
Difficult to reproduce, as you probably need to see the html source to understand what is the problem. I use a tabstrip components from www.telerik.com and Required FieldValidators from www.peterblum.com (both have trial versions), with that you can reproduce it. Also, don't hesitate to contact me at dhmderuiter@hotmail.com, as I can give you source, more explanations, etc.
Comment 1•19 years ago
|
||
Can you attach a testcase to this bug? Or provide a link?
Reporter | ||
Comment 2•19 years ago
|
||
I have attached the HTML source of such a page, so you can test it (I think). If you need more information, I'd be happy to provide it.
Updated•19 years ago
|
Attachment #206601 -
Attachment mime type: text/plain → text/html
I have exactly the same problem, but the problem is actually a lot more simple.
You don't even need ASP.Net controls or ASP.Net.
The solution to reproduce is put a text input and two submit buttons in a single form, set the first submit buttons style to "display:none;".
Set the focus of the cursor to the text input and hit the enter button on the keyboard. You will find that the default button will be the first submit button even though it is hidden when it should be mapped to the second.
IE 7 maps the second but as the default which is the expected behavior by the user & developer.
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 (.NET CLR 3.5.30729)
If more info is needed, I can easily supply more data.
Comment 4•16 years ago
|
||
Michael, can you give us a simple English testcase that shows your issue in safe mode in Firefox 3 or later? Thanks.
Simple English testcase that shows the issue in
safe mode in Firefox 3
Comment 6•14 years ago
|
||
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 5-15-2010]
Comment 7•14 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•