Closed Bug 103572 Opened 23 years ago Closed 23 years ago

Form doesn't work with hitting the return key, but does when clicking on submit button

Categories

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

Sun
SunOS
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 99920

People

(Reporter: nicolasbock, Assigned: rods)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4) Gecko/20010915
BuildID:    2001091520

When I enter information in any part of this form (parts 1 - 4) and hit the
RETURN key then the form gets submitted and returns this error message:

Sadly, ...
Your client/browser doesn't seem to support multiple submit buttons in forms.
All up-to-date browsers should support this feature by now.

When I instead of hitting the RETURN key click on the submit button of the part
of the form I filled out, then the form seems to work and returns the search
result I was looking for. In my opinion, the return key, if allowed in forms,
should return the same result as the submit button. The two actions should do
the same.

Reproducible: Always
Steps to Reproduce:
1.go to http://xxx.lanl.gov/multi
2.pick cond-mat as the archive to search
3.enter 0110078 in field #3
4.hit RETURN --> error message
5.instead of RETURN, click on the submit button --> you get to read a very
exciting paper.

Actual Results:  There is a difference how the form submit function works
between hitting the RETURN key and clicking on the submit button. Only clicking
on the submit button results in the correct behaviour.

Expected Results:  If I get to use the RETURN key at all then I would expect it
to behave the same way as clicking on the submit button.
There is a fix for this which should be checked in within the next day or two.

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