The Validator is a tool that can be used to validate user input. For this task, several
static methods are available, that return true in case of successful validation and
The class myValidator
formed the basis of the validation of the form controls
up to release 1.10. Since 1.11, specialized form validators are included. To get an overview of
the shipped form validators, please refer to
In order to use the Validator, first include it using
Afterwards, the listed methods can be used:
Checks whether the given string contains more than three characters.
Validates if the given string is a valid e-mail address.
Validates if the given string is a valid phone number.
Validates if the given string is a valid fax number.
Checks whether the given string is a number.
Validates if the given string is suitable for naming a folder.
Checks whether the given string matches the given regular expression.
Details on the listed methods can be taken from the API documentation
Do you want to add a comment to the article above, or do you want to post additional hints? So please click
Comments already posted can be found below.
There are no comments belonging to this article.