W3C home > Mailing lists > Public > www-talk@w3.org > March to April 1996

Re: HTTP protocol regarding form elements order

From: Gregory J. Woodhouse <gjw@wnetc.com>
Date: Fri, 5 Apr 1996 10:44:17 -0800 (PST)
To: Niranjan Ramakrishnan <niranjan@eecs.umich.edu>
Cc: www-talk@w3.org
Message-Id: <Pine.SGI.3.91.960405104225.14708B-100000@shellx.best.com>
On Fri, 5 Apr 1996, Niranjan Ramakrishnan wrote:

No. The form elements can be returned in any order. For example,

alpha=one&beta=two

is treated as equivalent to

beta=two&alpha=one

> Hi,
> 
> Sorry to disturb you guys but I'm pretty concerned about the HTTP specs
> regarding the order in which form input is returned to a cgi program. Is
> it *necessary* that the form elements should always be returned in the
> same order as they were present in the original HTML document? I need this
> info desperately as it would dictate the parsing methodology I use when I
> process input from a POST query.
> 
> For eg if I have several input text fields say 
> 
> <input type=text name=a>
> <input type=text name=a>
> <input type=text name=a>
> 
> and the user enters for each in order b c and d, will HTTP require that
> the values returned to me would be of the form :
> 
> a=b
> a=c
> a=d
> 
> in that order?
> 
> Thanks for putting up with this query? But I need the info pretty badly...
> 
> Any help would be deeply appreciated.
> 
> Sincerely,
> 
> Niranjan Ramakrishnan
> Grad Student,
> University of Michigan, Ann Arbor
> 

---
Gregory Woodhouse     gjw@wnetc.com
home page:            http://www.wnetc.com/
resource page:        http://www.wnetc.com/resource/
Received on Friday, 5 April 1996 13:48:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:19 GMT