Why you should be using HTML5 form validation: a tour
HTML5 Form Validation features are good these days, and supported by the latest version of all major browsers. This post starts with a simple example showing the HTML attributes, and builds up to a custom example with minimal JavaScript.
Pageclip