Click or drag to resize

ValidationUtils Methods

The ValidationUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsValidEmail
Validates that the provided email address is a valid email format. The algorithm used is based on the Microsoft Developer Network How to: Verify that Strings Are in Valid Email Format article.
Public methodStatic memberIsValidEmailAddress
Validates that the provided value is a valid email address. NOT YET FULLY IMPLEMENTED.
Public methodStatic memberIsValidMaskedValue
Validates a value against a mask, if a non-empty/non-null mask is specified. The mask validation is implemented to correspond to the Digital Bush jQuery Masked Input Plugin used client-side when a TextBox_Mask is specified on a field. Note that custom mask definitions (supported by the Plugin) are not supported here.
  • a - Represents an alpha character (A-Z,a-z).
  • 9 - Represents a numeric character (0-9).
  • * - Represents an alphanumeric character (A-Z,a-z,0-9).
  • ? - Anything listed after '?' within the mask is considered optional user input.
Public methodStatic memberIsValidPhoneNumber
Validates that the provided value is a valid phone number. NOT YET IMPLEMENTED - ALWAYS THROWS AN EXCEPTION.
Top
See Also