[whatwg] additional key attribute in form field

Alexey Feldgendler alexey at feldgendler.ru
Fri Jul 6 06:26:47 PDT 2007


On Fri, 06 Jul 2007 14:07:10 +0200, Alexander <nav at ciklum.net> wrote:

>   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)

Changing the form submission formats (that currently only allow for  
name/value pairs) is out of scope for WHATWG.


-- 
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com



More information about the whatwg mailing list