W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2004

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

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Fri, 09 Jul 2004 09:28:45 -0400
Message-ID: <40EE9D8D.5050906@earthlink.net>
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 ===

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

=== With Javascript Enabled ===

<label>Date: <input type="date" name="date1" value="MM/DD/YYYY"></label>
Received on Friday, 9 July 2004 06:28:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:35 UTC