jVal

程序名称:jVal

授权协议: 未知

操作系统: 未知

开发语言:

jVal 介绍

Super-sexy animated form field validation plugin.

Very easy to apply field validation on a per field basis in the html <INPUT>
declaration. Very user friendly in showing each field that has not passed
validation. Easy support for restriction of characters in a field, i.e. phone
number only allowing digits. Allows for associating the ENTER key with a
specific function.

To use simply add a jKey="" or jkeyval="" to the <INPUT> html tag you
would like to have validation associated with such as this example to make
sure that a field has 10 digits as well as only allowing digits to being
entered (i.e. US Phone number input field):

<INPUT ID="phoneNumber" TYPE="text" jVal="{valid:function (val) { if (val.length != 10) return false; else return true; }, message:'10 Digits for Phone required', styleType:'cover'}" jValKey="{valid:/[0-9]/, message:'&quot;%c&quot; Invalid Character - Only Digits Allowed', cFunc:'$(\'#formContainer\').jVal()', styleType:'pod'}">

The validation from jVal will render the flyout messaging in the “cover” style
and the flyout messaging for invalid characters will be in the “pod” style -
see Home Page for more info.

0.1.2

  • fixed issue with [jVal] input field’s visually “bouncing”

0.1.1

  • jVal() Now returns true if all jVal fields are valid and false is any jVal fields are invalid and fail the test RegExp or Function declared in the jVal=”” attribute.

0.1.0

  • initial release

jVal 官网

http://plugins.jquery.com/project/jVal

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...