JavaScript and Forms

Form validation is one of the most common uses for JavaScript. Study this sample form and discuss what types of error checking you might want to do. Write some error checking functions for some of the input values.

how to check credit card numbers
functions