W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2007

[whatwg] additional key attribute in form field

From: Alexander <nav@ciklum.net>
Date: Fri, 6 Jul 2007 15:07:10 +0300
Message-ID: <001001c7bfc6$2ea5b4f0$2121a8c0@kyiv.ciklum.net>
  The simple name/value pairs that form submission is organized in are  
  sufficient for expressing data structures of any complexity.  
  Multidimensional keys like (name, key) in your example can be expressed  
  through combined names:

  <input type="text" name="quantity:{id_value_here}" value="">

Of course, it's how I usually do this :) But I would not be against some common specified approach - especially taking into consideration some restriction on 'name' symbolset (there are much less restrictions on 'value' symbolset)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070706/a199a503/attachment.htm>
Received on Friday, 6 July 2007 05:07:10 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC