O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Netscape's Sample Form Validation Scripts

A veritable treasure trove of freely available JavaScripts for form validation is available from the Netscape Web site, available at the following URL:

http://developer.netscape.com/docs/examples/javascript/formval/overview.html

The JavaScript source file that you can download from that site is called FormChek.js. In addition, a number of sample XHTML files show the functions in operation. The JavaScript functions defined there come under a number of general categories, as described in the header information in the FormChek.js file (summarized in the following sections).

In addition to the form validation scripts available at the preceding URL, Netscape has another set of scripts that do much the same ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required