Validator Fields

HttpServer.dll

The Validator type exposes the following members.

Fields

  NameDescription
_errors
A list with all errors found.
_modelLang
Language translation for all "name" parameters.
_validatorLang
Language for the validator (i.e. "Field {0} is required.")
EmailRegEx
Regex used to validate emails.
FieldAlphaNumeric
'{0}' may only contain writable characters.
FieldBoolean
'{0}' must be {1} or {2}.
FieldDigits
'{0}' may only contain digits
FieldDigitsExtra
'{0}' may only contain digits and the following characters: '{1}'
FieldEmail
'{0}' is not a valid email address.
FieldHex
Name of the string to display when testing hex fail
FieldLetterOrDigit
'{0}' can only contain letter or digits.
FieldLetters
Name of string to display when testing letters fail
FieldLettersSpecial
Name of string to display when testing letters fail
FieldNumber
'{0}' is not a number.
FieldPassword
'{0}' can only contain letter or digits or one of the following chars: {1}
FieldRequired
'{0}' is required.
FieldValueFalse
Used to check if a field is false.
FieldValueTrue
Text: True
Language
Language manager used if no one else have been specified.
PasswordChars
Extra characters that are allowed in passwords.
SpecialLetters
A collection of special letters

See Also