Open
Bug 104449
Opened 23 years ago
Updated 2 years ago
Enter does not submit from all form controls.[form sub]
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Core
DOM: UI Events & Focus Handling
Tracking
()
NEW
Future
People
(Reporter: tpowellmoz, Unassigned)
References
(Depends on 2 open bugs)
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5+)
Gecko/20011012
BuildID: 2001101203
After initial fixes for bug 22526, you could press Enter in pretty much any form
element and the form would be submitted. This was extremely convenient and
consistent. Unfortunately, these initial fixes did not properly send a submit
button, so bug 99920 was opened to fix that. It appears that the more recent fix
removed (inadvertantly, I hope) the ability to submit from other than text and
password fields. In particular, you can no longer submit a form with just select
dropdown boxes by pressing Enter.
Reproducible: Always
Steps to Reproduce:
1. Go to http://slashdot.org
2. Go to a story. For example, here:
http://slashdot.org/article.pl?sid=01/09/17/1231204&mode=thread
3. Change the threshold or Threaded box and press Enter.
Actual Results: Nothing happens.
Expected Results: The form should be submitted when you press Enter.
This would give Mozilla consistent support for Enter in form controls. This is a
regression from the previous Enter form submit behavior.
Updated•23 years ago
|
Summary: Enter does not submit from all form controls. → Enter does not submit from all form controls.[form sub]
Updated•23 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Comment 2•23 years ago
|
||
not form submission (looks like ENTER while focus in a combo box does not submit)
Assignee: alexsavulov → aaronl
Component: Form Submission → Keyboard Navigation
QA Contact: vladimire → sairuh
Comment 3•22 years ago
|
||
See also bug 111689, "pressing enter in file upload control does not submit form".
Controls for which enter should not submit:
- Textareas.
- Listboxes (except for dropdowns)? Enter is used with ctrl+down and ctrl+up
for multiple selection using the keyboard.
Comment 4•22 years ago
|
||
Taking. The ones I know of that should submit the form that do not are:
- checkboxes
- radios
- files (bug 111689)
- dropdowns that are not dropped down
- listboxes
The last two may get a separate bug if they turn out to be too hard to do here.
textarea *maybe* should submit with ctrl+enter, but I think we should save
that shortcut for something else.
Assignee: aaronl → jkeiser
Blocks: 111689
Comment 5•22 years ago
|
||
Oh, regarding checkbox and radio button, they *are* submitting, but they are
not submitting using the same method as input type=text--they need to do
onClick on the first submit button if it exists. We can luckily reuse the
function the input type=text does.
Status: NEW → ASSIGNED
Comment 6•22 years ago
|
||
*** Bug 173310 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Priority: -- → P2
Target Milestone: --- → Future
Comment 7•22 years ago
|
||
OK, this will be a tracking bug now :) Setting dependent on bugs for textarea,
checkbox/radio, listbox and file upload. listbox needs some discussion.
Comment 8•21 years ago
|
||
Currently (Firefox 0.8) hitting enter when focus is on a radiobutton or checkbox
will submit the form, but without setting the 'successful control'. If you hit
enter when on a text field, the name_x and name_y of the first submit control
are passed with the form submission, each with value zero. If you hit enter on
a radiobutton or checkbox, no submit control name_x and name_y values are passed.
Comment 9•17 years ago
|
||
I am surprised that after 7 years, this bug still exists. Even in FF3b3 you cannot submit a form by pressing the enter key if focus is on a select input. Any chance we can get this fixed for FF3?
Comment 10•17 years ago
|
||
In FF3b4 I cannot submit on enter at all -- only command-enter. Is this is a separate bug?
Comment 11•17 years ago
|
||
Yes.
Updated•15 years ago
|
QA Contact: bugzilla → keyboard.navigation
Comment 12•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Assignee | ||
Updated•6 years ago
|
Component: Keyboard: Navigation → User events and focus handling
Comment 13•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: john → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•