W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1999

Re: order of form fields

From: Dan Connolly <connolly@w3.org>
Date: Mon, 27 Sep 1999 14:58:36 -0500
Message-ID: <37EFCC6C.DACD9BE3@w3.org>
To: Dmitry Beransky <dmitry@ostankino.ucsd.edu>
CC: www-talk@w3.org
Dmitry Beransky wrote:

> Hi,
> This question came up on one of the perl development lists.  Once again, I
> remember reading about this somewhere in a spec, but where? I could have
> sworn that it was stated that user agents are not required to return the
> fields in the same order they were parsed from the html stream.  Does
> anyone know which spec it was?

Since HTML 2.0 user agents are required to preserve order:

     The fields are listed in the order they appear in the document with
     the name separated from the value by `=' and the pairs separated
     from each other by `&'.

     -- Form Submission in HTML 2.0

The relevant section from HTML 4.0 says the same thing.

Dan Connolly, W3C
Received on Monday, 27 September 1999 15:59:38 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:24 UTC