<abstract> new Validator(allowFormatting, multiline)
The Validator class provides for validation of alphanumeric characters.
Parameters:
Name | Type | Description |
---|---|---|
allowFormatting |
boolean | Determines whether or not the formatting of the source should be utilized. |
multiline |
boolean | Determines whether or not the validator works on multiple lines. |
- Source:
Members
-
AllowFormatting :boolean
-
Determines whether or not the formatting of the source should be utilized.
Type:
- boolean
- Default Value:
-
- {true}
- Source:
-
Multiline :boolean
-
Determines whether or not the validator works on multiple lines.
Type:
- boolean
- Default Value:
-
- {true}
- Source:
-
<static> UnsignedNumeric :UnsignedNumericValidator
-
The global UnsignedNumericValidator instance.
Type:
-
<static> UnsignedNumericInteger :UnsignedIntegerValidator
-
The global UnsignedIntegerValidator instance.
Type:
-
<static> Text :TextValidator
-
The global TextValidator instance.
Type:
-
<static> String :StringValidator
-
The global StringValidator instance.
Type:
-
<static> Numeric :NumericValidator
-
The global NumericValidator instance.
Type:
-
<static> NumericInteger :IntegerValidator
-
The global IntegerValidator instance.
Type:
-
<static> Date :DateValidator
-
The global DateValidator instance.
Type:
Methods
-
Force(value)
-
Forces validation of value and returns valid value.
Parameters:
Name Type Description value
string The value to force validation from.
- Source:
Returns:
- Type
- string
-
Validate(value)
-
Determines whether or not a value is valid.
Parameters:
Name Type Description value
string The value to determine the validation state of.
- Source:
Returns:
- Type
- boolean