X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/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 @@ -

Class Ext.form.VTypes

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. +

Class Ext.form.VTypes

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 _'
VTypes alphanumMask : RegExp
The keystroke filter mask to be applied on alphanumeric input. Defaults to: /[a-z0-9_]/i
VTypes alphanumText : String
The error text to display when the alphanumeric validation function returns false. Defaults to: 'This field should o...
The error text to display when the alphanumeric validation function returns false. Defaults to: -'This field should only contain letters, numbers and _'
VTypes emailMask : RegExp
The keystroke filter mask to be applied on email input. See the email method for -information about more complex ema...
The keystroke filter mask to be applied on email input. See the email method for +'This field should only contain letters, numbers and _'
VTypes emailMask : RegExp
The keystroke filter mask to be applied on email input. See the email method for +information about more complex emai...
The keystroke filter mask to be applied on email input. See the email method for information about more complex email validation. Defaults to: /[a-z0-9_\.\-@]/i
VTypes emailText : String
The error text to display when the email validation function returns false. Defaults to: 'This field should be an e-...
The error text to display when the email validation function returns false. Defaults to: @@ -46,7 +46,7 @@ information about more complex email validation. Defaults to: validation per ...
The function used to validate email addresses. Note that this is a very basic validation -- complete validation per the email RFC specifications is very complex and beyond the scope of this class, although this function can be overridden if a more comprehensive validation scheme is desired. See the validation -section of the Wikipedia article on email addresses +section of the Wikipedia article on email addresses for additional information. This implementation is intended to validate the following emails: 'barney@example.de', 'barney.rubble@example.com', 'barney-rubble@example.coop', 'barney+rubble@example.com' .
Parameters:
  • value : String
    The email address
Returns:
  • Boolean
    true if the RegExp test passed, and false if not.
VTypes urlString value )