SocialSecurityValidation

data class SocialSecurityValidation(errorMessage: String) : EnterpriseTextInputField.ValidationType

Validates on InputUtil.SSN_MAX_LENGTH. Follows same format as Input Masking, ie. 111-22-3333.

Parameters

errorMessage

Type-specific error message String.

Constructors

SocialSecurityValidation
Link copied to clipboard
fun SocialSecurityValidation(errorMessage: String)
Type-specific error message String.

Properties

errorMessage
Link copied to clipboard
open override val errorMessage: String
Type-specific error message String.

Functions

isValid
Link copied to clipboard
open override fun isValid(text: String): Boolean