| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
11年前发布

jQuery 的表单验证插件:jQuery Form Validate

jQuery Form Validate 是一个 jQuery 的表单验证插件,支持 HTML5 数据属性的验证。

  • required() - Make it so form input is required.
  • requiredIf( string element id ) - Require an input only if a dependent element has a value.
  • betweenNumeric( float minimum, float maximum ) - See if a value is between a minimum and maximum value.
  • numChars( int length ) - Validate that a string is exactly a certain number of characters in length.
  • minChars( int minimum ) - Validate that a string is at least a certain number of characters in length.
  • maxChars( int maximum ) - Validate that a string is no more than a certain number of characters in length.
  • numOptions( int minimum ) - Make sure a user selects exactly the provided number of checkboxes or multi-select form inputs.
  • minOptions( int minimum ) - Make sure a user selects at least a provided number of checkboxes or multi-select form inputs.
  • maxOptions( int maximum ) - Make sure a user selects no more than a provided number of checkboxes or multi-select form inputs.
  • email() - Make sure a user entered a valid email
  • date( string format ) - Make sure the user entered a valid date in a valid date format. Format must be written as either "YYYY-MM-DD", "MM-DD-YYYY", or "DD-MM-YYYY".

jQuery 的表单验证插件:jQuery Form Validate

项目主页:http://www.open-open.com/lib/view/home/1400575655706

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1400575655706.html
表单相关jQuery插件 jQuery插件 jQuery Form Validate