var instance; // Type: wijmo.input.IFormatValidateLib; var returnValue; // Type: bool // Parameters var value; // Type: string var format; // Type: any var minLength; // Type: any var maxLength; // Type: any returnValue = instance.validateText(value, format, minLength, maxLength);
Parameters
- value
- The string value to validate.
- format
- The string value indicating the text format that is accepted. For more information about format keywords, please see Mask Format KeywordsText Format Keywords.
- minLength
- The shortest number of characters to accept.
- maxLength
- The longest number of characters to accept.
Return Value
Returns a Boolean value indicating whether the string date value is valid for the specified format or length range.