[whatwg] Suggested changes to Web Forms 2.0, 2004-07-01 working

Matthew Raymond mattraymond at earthlink.net
Fri Jul 9 06:28:45 PDT 2004

Jim Ley wrote:
> On Fri, 9 Jul 2004 13:43:54 +0100, Jim Ley <jim.ley at gmail.com> wrote:
> Yes, that is my point, and that with WF2 you can't have formatting
> hints because it will confuse the users of WF2 clients.  Hence this
> does not degrade on legacy clients.

    Let's put this thing to bed.

=== With Javascript Enabled ===

       <td valign="top">Date: </td>
       <td align="center">
         <input type="date" name="date1">
         if (!(document.implementation &&
               document.implementation.hasFeature &&
               document.implementation.hasFeature('WebForms', '2.0')))
           document.write('<small>(Format: MM/DD/YYYY)</small>');

=== With Javascript Enabled ===

<label>Date: <input type="date" name="date1" value="MM/DD/YYYY"></label>

More information about the whatwg mailing list