EasyCheck,是一个基于 jQuery 的前端 JavaScript 表单验证框架,无需编程通过 HTML 增强即可完成表单验证工作,简化前端开发工作,并保持统一验证风格,提高效率。并提供灵活的自定义接口,支持基于验证引擎的插件扩展。
EasyCheck (Echeck), is a jQuery based front-end JavaScript forms authentication framework, without programming through HTML enhanced form validation work, simplifying the front-end development work, and maintain a unified style, improve efficiency. Custom interface, and provides a flexible support plug-in extension based on validation engine.
主要特点:
-
轻量级,无需 JS 编程
-
支持基于类、基于属性和组合验证器,内置能满足日常开发的十多种常用验证器
-
文本框验证样式自动切换
-
默认、错误和正确三种提示消息内容,提示消息位置的自定义
-
客户端防止重复提交功能
-
异步验证支持,支持
ES6 Promise
编程(验证码在不支持Promise
的环境时,自动回退到同步验证) -
服务器验证消息处理,手动添加和清除验证消息(如页面提交到服务器校验转发回的消息,
Ajax
的消息...) -
扩展性,支持用户开发注册新验证器
-
插件支持,已支持验证提示插件:DIV, ToolTip, Bootstrap3
兼容性:
- 浏览器:完全兼容IE6及以上版本、Firefox、Chrome、Safari、Opera等各内核(Trident、Gecko、Webkit、Presto)浏览器,并兼容多平台及系统(PC,TabletPC,Mobile)。
- jQuery:
1.9+
,2.X
,3.X
Bootstrap 验证插件的兼容性与 Bootstrap 最低兼容要求一致
已支持插件:
- DIV
- ToolTip
- Bootstrap3
Main features:
-
Lightweight, No JavaScript programming
-
Support class-based, based on a combination of property and validators, Built to meet the daily development of a dozen popular validator
-
Verify that the text box to automatically switch styles
-
By default, errors and correct three kinds of message content, custom message location
-
Anti-client resubmit function
-
Asynchronous validation support, support for
ES6 Promise
programming (validation code automatically fallback to sync verification when the environment is not supported forPromise
) -
Server-side validation message, according to manually add and remove validation messages (such as the page to submit to the server check forwarding back to news, the news of the Ajax...)
-
scalability, support for registered users to develop new validator
-
Engine framework extension plugins, now support plug-ins: DIV, ToolTip, Bootstrap3
Compatibility:
- Browser: fully compatible with IE6 or later, Firefox, Chrome, Safari, Opera, and other kernel (Trident, Gecko, Webkit, Presto) browser, and is compatible with multiple platforms and systems (PC, TabletPC, Mobile).
- jQuery:
1.9+
,2.X
,3.X
That the bootstrap validation plugin is compatible with Bootstrap minimum compatibility requirements
Already support plugins:
- DIV
- ToolTip
- Bootstrap3
如果您有更好意见,建议或想法,请联系我。
If you have more comments, suggestions or ideas, please contact me.
Email:inthinkcolor@gmail.com
支付宝钱包扫一扫捐助:
我们相信,每个人的点滴贡献,都将是推动产生更多、更好免费开源产品的一大步。
感谢慷慨捐助,以支持服务器运行和鼓励更多社区成员。
We believe that the contribution of each bit by bit, will be driven to produce more and better free and open source products a big step.
Thank you donation to support the server running and encourage more community members.