The StringValidator
class validates that the length of a String is within a
specified range.
Static methods
staticvalidateString(validator:StringValidator, value:Dynamic, ?baseField:String):Array<ValidationResult>
Convenience method for calling a validator. Each of the standard Flex validators has a similar convenience method.
Parameters:
validator | The StringValidator instance. |
---|---|
value | A field to validate. |
baseField | Text representation of the subfield
specified in the |
Returns:
An Array of ValidationResult objects, with one ValidationResult object for each field examined by the validator.
See also: