WHATWG Looking for Comments on First Draft of Web Forms 2

Sunday June 27th, 2004

Ian Hickson writes: "The WHATWG is looking for comments on the first stable draft of the Web Forms 2.0 specification. The Web Forms 2.0 specification addresses requests made for new features to be added to the Forms features in HTML4. New features include new input control types for dates, times, e-mail addresses, and numbers; a new client-side validation model; a way to mark input controls as required; a repetition model; control over form submission so that forms can be updated instead of causing the page to be replaced; and more. Comments should be sent to the WHATWG mailing list."

#10 Graceful degradation and back-door implementation

by modok

Monday June 28th, 2004 8:22 AM

You are replying to this message

Maybe some of my questions are not in the scope of this document, but they seem important for adoption to me...

What is going to be the best practice for pushing these forms that do not natively support web forms 2.0?

Will it use JS property/UA string to determine how to load hunks of ECMAscript to emulate this behavior? If so, will this be some common boiler-plate code from a one-stop download site for making web forms 2 applications? For the parts that can't be implemented with ecmascript (is there any behavior that cannot be implemented in ecmascript?), will it degrade gracefully (I suspect I read the spec too lightly...though I can see stuff like form elements in head with an id attribute which I doubt would work very well in HTML)?

This evolutionary approach to improving forms is long overdue and it looks like the benefits of it will outweigh the liabilities of using something new. For it to be successful, I think a lot of effort needs to be put into a an easy to use emulation package for IE. So simple that the IE-only designers can almost just click on it and start writing apps immediately. The simpler the setup the more successful I think this will be (using the new tags themselves are so intuitive to an HTML jockey that I doubt that will be much of a factor in adoption). With the IE team forming again...who knows perhaps a spec like this can lead the bull by the nose ring...