JavaScript/jQuery Validator - StringLengthRule
A validation rule that demands the target value length be within the specified value range (including the range's end points).
Type:
message
Type:
Default Value: 'The length of the value is not correct'
You do not have to specify this field. If you choose not to specify it, a default message will be shown. To include the name of the validated editor into the default validation message as a subject, set the name field of the dxValidator object.
If you assign an empty string to the message field, the message will not be shown.
type
Type:
Accepted Values: 'required' | 'numeric' | 'range' | 'stringLength' | 'custom' | 'compare' | 'pattern' | 'email'
Feedback