
For years now, most Web forms have included at least some lines of JavaScript code for validation, or to add widgets such as calendars for date input. While using JavaScript for these purposes is a pretty good solution, it's not without its problems.
The good news is that these dark days of JavaScript-laden Web forms may soon be coming to an end. Thanks to the joys of HTML5, we can now create forms with built-in validation and rich widgets for dates, numbers and so on, all without including a single line of JavaScript code!
In this tutorial Matt walks you through the process of creating a nice, self-validating, widget-rich, HTML5 Web form, with a JavaScript fallback for browsers that don't fully support HTML5 forms.







