new SuiValidator () SuiValidator object. Source: modules/ui/SuiValidator.jsxinc - line 77 Methods addRule (element, validator, argsopt) Adds new rule. Parameters: Name Type Attributes Description element ScriptUIcontrol Tested element. validator string | function Validator method. args Array <optional> Additional parameters will be passed to validator method. (optional) Throws: string : Exception if a validator rule cannot be set. Source: modules/ui/SuiValidator.jsxinc - line 136 toString () → {string} Returns a string representation of the object. Returns: string Source: modules/ui/SuiValidator.jsxinc - line 86 validate () → {boolean} Validate all rules. Returns: boolean : Result of the validation. Source: modules/ui/SuiValidator.jsxinc - line 92