X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.form.VTypes.html diff --git a/docs/output/Ext.form.VTypes.html b/docs/output/Ext.form.VTypes.html index 5280c429..478bc985 100644 --- a/docs/output/Ext.form.VTypes.html +++ b/docs/output/Ext.form.VTypes.html @@ -1,4 +1,4 @@ -
Package: | Ext.form |
Defined In: | VTypes.js |
Class: | VTypes |
Extends: | Object |
This is a singleton object which contains a set of commonly used field validation functions. +
Package: | Ext.form |
Defined In: | VTypes.js |
Class: | VTypes |
Extends: | Object |
This is a singleton object which contains a set of commonly used field validation functions. The validations provided are basic and intended to be easily customizable and extended.
To add custom VTypes specify the vtype
validation
test function, and optionally specify any corresponding error text to display and any keystroke
@@ -15,7 +15,7 @@ Ext.apply(Ext.form.VTypes, {
// vtype Mask property: The keystroke filter mask
timeMask: /[\d\s:amp]/i
});
-Another example:
+Another example:
// custom Vtype for vtype:'IPAddress'
Ext.apply(Ext.form.VTypes, {
IPAddress: function(v) {
@@ -29,8 +29,8 @@ Ext.apply(Ext.form.VTypes, {
'This field should only contain letters and _'
value
: StringBoolean
String value
)