Closed Bug 270620 Opened 20 years ago Closed 20 years ago

Enter in the text field != Submit button.

Categories

(Core :: DOM: Core & HTML, defect)

x86
NetBSD
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 156683

People

(Reporter: david, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.7.5) Gecko/20041112 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.7.5) Gecko/20041112 Firefox/1.0

Enter and the Submit button of a form take you to different pages - behaviour
not consistent with I.E.

Reproducible: Always
Steps to Reproduce:
1.On the given page, enter a search in the search box
2.Press Enter.
3.Go Back and press the 'Go' submit button instead.
4.Notice that the two actions (which, in other browsers, produce the same
result) produce different results.
Actual Results:  
Sign-up page loads on hitting enter.

Expected Results:  
Search results page should load.
Confirming in both Firefox and Mozilla. The form action is preview.aspx so I'm
not sure how Enter picks up signup.aspx from another table element.

Not form manager though, just forms.
Assignee: dveditz → nobody
Status: UNCONFIRMED → NEW
Component: Form Manager → Layout: Form Controls
Ever confirmed: true
QA Contact: core.layout.form-controls
probably related to (or duplicate of) bug 253704.
Component: Layout: Form Controls → HTML: Form Submission
The issue here is that Mozilla treats an enter as equivalent to a click on the
first submit or image input in the form.  That is NOT the "go" button in this
case.  And the site redirects based on what button was clicked, treating "no
buttons clicked" as "search".

See the tons of discussion in bug 156683.

*** This bug has been marked as a duplicate of 156683 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.