jstl页面校验的用法[1]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 heya001 的 blog

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;

本文关键:jstl页面校验的用法
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top