how to use validation javascript framework
[summary:]
1. javascript validation framework includes three files:
validate.js : used to store the main validation rules
validateconfig.js : used to store the properties of validation framework
commonvalidation.js : used to store self defined validation rules;
2. framework provides the validation to single field except date format checking. the covered validation rules are:
1) not blank;
2) length within specified bounds;
3) minimum length;
4) maximum length;
5) number;
6) number with minimum length;
7) integer with specified numerical value bounds;
8) decimal with fixed number of digits;
9) decimal with a ranged number of digits;
10) email format;
11) selected item of index past 0;