Closed Bug 203886 Opened 23 years ago Closed 22 years ago

wrong sort order on posted forms

Categories

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

x86
Linux
defect
Not set
normal

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.
This is because the object is just appended to form.elements. This is already filed, I believe.
Whiteboard: DUPEME
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
Whiteboard: DUPEME
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.