Closed
Bug 203886
Opened 23 years ago
Closed 22 years ago
wrong sort order on posted forms
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 204784
People
(Reporter: kaestner, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401
If you dynamicly (with javascript createElement) add a field to a formular then
the sort order after submit is not the sort order how the formular is shown before.
Example:
Field 1 -> input
Field 2 -> input
Field 3 -> input
now add with javascript a new input field after "Field 1".
When you submit the form you will get the posted list like this:
Field_1
Field 2
Field 3
New Field
You will see the new created field is not after Field 1.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•23 years ago
|
||
This is because the object is just appended to form.elements. This is already
filed, I believe.
Whiteboard: DUPEME
Comment 2•22 years ago
|
||
Dupping forward to bug with testcase.
*** This bug has been marked as a duplicate of 204784 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•7 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
•