Closed
Bug 76208
Opened 23 years ago
Closed 23 years ago
Form submission doesn't send form elements of type "submit"
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: sly, Assigned: pollmann)
References
()
Details
Attachments
(1 file)
When submitting a form, Mozilla doesn't send the name/value of form elements of type "submit", e.g. <input type="submit" name="foo" value="bar">. This is similar to Bug #19336, except this has nothing to do with JavaScript, Servlets, or missing default values for the submit button. Actually, that bug was originally the same as this one, but it has since been edited to describe only the case where the button was missing a default value. To reproduce, grab the latest trunk build and do the following: 1. Visit http://www.sily.net/form-test.jsp 2. Click one of the two submit buttons. 3. Note that the URL requested is missing the name/value pair for the submit button. I have verified this with the Linux build only. Not sure if this applies to other versions.
Assignee | ||
Comment 1•23 years ago
|
||
I broke this with my latest checkin, taking the bug, and working on a fix.
Assignee: rods → pollmann
Severity: major → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → mozilla0.9
Assignee | ||
Comment 4•23 years ago
|
||
Keywords: mozilla0.9
Assignee | ||
Comment 6•23 years ago
|
||
Fix checked in (with slight modification to hold content instead of frame pointer in event). To verify, view the testcase in the URL: http://www.sily.net/form-test.jsp Click on the submit button labeled "foo". When the new page laods, the text in the URL bar should end with "&submit=foo".
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 8•23 years ago
|
||
Verifying on build 2001-04-19-04-trunk windows 98 build 2001-04-19-08-trunk Linux RedHat 6.2
Status: RESOLVED → VERIFIED
Updated•5 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
•