Re: A forms-lite straw man

On Tue, 5 Sep 2006, John Boyer wrote:

> I was also thinking that inputs should allow optional use of 
> 'name' attribute instead of ref *and* label. This would allow 
> implicit creation of a 'flat' data structure.

The idea of supporting name for a flat data structure seems fine.
I am not sure what people would think of the implicit label idea, 
given that many web pages don't use the label element for the label 
text for their input fields. Obviously that's poor practice, though.

> Then, I was thinking that an input could also use a value 
> attribute (content string, not XPath) to indicate initial value
> of the named node in the implicit flat data model.

Right, that makes sense for flat data models. For non-flat data 
models though, a different approach may be more appropriate,
that loads all or part of the data model.

> I also agree that further details are needed for various other 
> controls and their attributes, but seems best to take it one step 
> at a time.

Indeed. I have some ideas, and look forward to developing a cross 
browser implementation as a JavaScript library to provide people 
with hands on experience as the ideas evolve.

  Dave Raggett <dsr@w3.org>  W3C lead for multimodal interaction
  http://www.w3.org/People/Raggett +44 1225 866240 (or 867351)

Received on Tuesday, 5 September 2006 19:14:33 UTC