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.

Putting Form Validation into Action

See it run: Putting Form Validation into Action

Script 7.10

This is the HTML for the Car Picker example. This page is used for the rest of the examples in this chapter.

Script 7.11

The script adds several blocks to the switch/case conditional, setting it up for later examples in the chapter.