Easiest Validate On Submit 1.1
This page is dedicated to our nifty little client-side/javascript validation script.
This script has several features:
- It requires only 1 line of javascript per html file, to validate any number of fields in any number of forms.
- The script detects whether you have a div to display errors. If you haven't, it puts messages in alert boxes.
- Evos supports styling both the input widgets and the labels upon validation errors.
- Which fields to validate, and which validation (required field, email, numeric) to use, is completely controlled through CSS classes.
- Pluggable custom validation per field, with minimal amounts of code.
- Messages are located in language files, so it's easy to display messages in your native language.
- Everything can be styled using CSS.
Evos has been tested on Firefox and IE. It's released under the BSD license, so you may do with it whatever you like.
Feedback is more than welcome.
Online demo Download
Our other software
Changes in 1.1: Added support for date validation and required radiobuttons. Fixed a bug that prevented validation when forms were submitted using the keyboard.
(Evos uses prototype, which is included in the demo to make it work out of the box.)
|