首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > wvactiveform

wvactiveform

  • 资源大小:0.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

wvActiveForm is a CActiveForm descendant that validates the input on client with jQuery, using the rules defined at the model, while also supporting custom rules. Besides validation some rules may also filter invalid characters during typing. Validators: Required Number String (length) Email Default value (displays value that disappear on field click) No whitespace URL Manual rules Rules: jQuery.Validate jQuery.Numeric jQuery.DefaultValue jQuery.keyFilter CValidator supported: CRequiredValidator CStringValidator CNumberValidator CEmailValidator CUrlValidator Usage Just replace the CActiveForm class with wvActiveForm, and you should automatically get client validation if you use validators on your model. For example:

文 件 列 表

wvactiveform
assets
changelog.txt
layouts
license.txt
readme.txt
rules
validators
wvActiveForm.php
wvFormLayout.php
wvFormRule.php
wvFormRules.php
wvFormValidator.php

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP