Closed
Bug 287463
Opened 20 years ago
Closed 20 years ago
Pressing enter (return) when <select> box is focused does not submit form
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: bugzilla, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
When any <input> element has focus, pressing the enter (return) key submits the
form. But, when a <select> element has focus, pressing enter does nothing.
Observed in
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050223
Firefox/1.0.1
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050323
Firefox/1.0+
Reproducible: Always
Steps to Reproduce:
1. Visit any web site with a <select> box in a form.
2. Focus the <select> box, via keyboard or mouse navigation.
3. Press the enter (return) key.
Actual Results:
Nothing
Expected Results:
Form submission
Updated•20 years ago
|
Assignee: aaronleventhal → form-submission
Component: Keyboard Navigation → HTML: Form Submission
Product: Firefox → Core
QA Contact: jruderman → ian
Version: unspecified → Trunk
Comment 1•20 years ago
|
||
Currently we act the same as IE. I guess the idea since that Enter in a dropped
down combo box must only select the option and not submit, that a browser should
not confuse people and submit when the combo box is closed.
Not that I necessarily agree with that. It just hasn't been considered a big
problem since other browsers act that way.
Question: what do Opera & Safari do?
OS: Windows XP → All
Hardware: PC → All
| Reporter | ||
Comment 2•20 years ago
|
||
(In reply to comment #1)
> Currently we act the same as IE.
> Not that I necessarily agree with that. It just hasn't been considered a big
> problem since other browsers act that way.
I had never looked at it from that angle, but that makes a lot of sense when you
say it that way.
I of course, just coming from the keyboard navigation standpoint, go through the
process "change field, tab, change field, tab, change field, enter" and expect
the form to submit. It usually does, but not when the last field I happened to
change was a <select>
> Question: what do Opera & Safari do?
I can't even convince Safari (the mac in general) to let me focus a <select> via
any means. Not well versed on the mac, I know it's configurable somehow but
can't remember now.
Opera (7.5.4 free version) also does nothing.
Comment 3•20 years ago
|
||
Reopen if needed.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Comment 4•19 years ago
|
||
*** Bug 327455 has been marked as a duplicate of this bug. ***
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•