Handling forms II

Objectives

Special note for HTML5

HTML5 has new form elements and some automatic validation. These notes cover pre-HTML5 forms since there is still a lot of variation in what browsers support as these notes are being written.

Complex validation and additional form elements

Sophisticated error handling

Automating validation using class names for fields

Automating placement of error messages on form