Functiondojox.validate.isText

dojo.require("dojox.validate._base");
defined in dojox/validate/_base.js

Checks if a string has non whitespace characters. Parameters allow you to constrain the length.

Usage

function (/*String*/ value, /*Object?*/ flags) (view source)
parametertypedescription
valueStringA string
flagsObjectOptional. maxlength If set, checks if there are at most flags.maxlength number of characters.