[whatwg] additional key attribute in form field

> > i wonder why there's still no a special 'key' attribute for every form
> > field implemented.

> 1. Your code is old-fashioned

old-fashioned or not, the reality is most popular web frameworks are using regex hacks on the name field to squish more information in there.

<input name="user[35][name]" value="Emmanuel">

it might be worth considering how they could use normal form fields without Javascript, and not require Regex in multiple places along the line. obviously another workaroudn besides regex is custom serialization and nonstandard attribute names of the input element - my preference using RDFa style predicates to describe what the field actually contains...


the idea is making the baseline form field not require hacks..

Received on Saturday, 7 July 2007 08:43:54 UTC