Reference website: http://code.google.com/p/webforms2/
Example page: http://learning-html5.info/examples/ExampleForm6WF2.html – view the source code. In this example, I have two required form fields. Prior versions of Internet Explorer (including IE 9) will ignore this required attribute and submit the information to the server (whether there is information in the form field or not). However, after adding the reference to the WebForms2 library, the required fields must contain information. For comparative purposes, try out the following page using IE 9 (or earlier) and compare your experience with the above example.
- http://learning-html5.info/examples/ExampleForm6.html (no WebForms 2 library)
- http://learning-html5.info/examples/ExampleForm6WF2.html (WebForms 2 library included)
Result: Below is a screen capture of a page using IE9
Here is the same page viewed in Firefox 4.
Although there are small differences in the message, using WebForms 2.0, one can now include the required attribute and expect that browsers like IE will recognize it.