The SocialSecurityValidator class validates that a String is a valid United States Social Security number. It does not check whether it is an existing Social Security number.
Static methods
staticvalidateSocialSecurity(validator:SocialSecurityValidator, 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 SocialSecurityValidator 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:
Constructor
Variables
invalidCharError:String
Error message when the value contains characters
other than digits and formatting characters
defined by the allowedFormatChars
property.