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 ...
Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.