X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.form.VTypes.html diff --git a/docs/output/Ext.form.VTypes.html b/docs/output/Ext.form.VTypes.html index 066a76b4..7d7b8468 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
)