Chapter 7: Form Handling

Return to Chapter 7

 

To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.

Identifying Problem Fields

See it run: Identifying Problem Fields

Script 7.9

This JavaScript highlights the incorrect field's label when it finds an error.