Custom selectors
Utilities
Validator
validate方法返回一个Validator对象, 它有很多方法, 让你能使用引发校验程序或者改变form的内容. validator对象有很多方法, 但下面只是列出常用的.
There are a few static methods on the validator object:
[
edit ]
List of built-in Validation methods
A set of standard validation methods is provided:
Name | Type |
---|---|
phoneUS( ) | Returns: Boolean |
验证美式的电话号码 |