Constructor
new MEmailValidator(fieldInstance, onFocusOut, onKeyUp)
- Description:
Constructor.
Parameters:
| Name | Type | Description |
|---|---|---|
fieldInstance |
MField | Field instance. |
onFocusOut |
boolean | Whether to validate on |
onKeyUp |
boolean | Whether to validate on |
Extends
Methods
validate()
- Description:
Implement this method in child class to raise
MValidationFailedExceptionexception if the validation fails.
- Overrides:
onKeyUp() → {boolean}
- Description:
Property method.
- Overrides:
Returns:
Value.
- Type
- boolean
onFocusOut() → {boolean}
- Description:
Property method.
- Overrides:
Returns:
Value.
- Type
- boolean