Checks if field value's length is not shorter or longer than specified borders.
Namespace: CMS.FormControlsAssembly: CMS.FormControls (in CMS.FormControls.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- minControlSize
- Type:
System Int32
Minimal size
- maxControlSize
- Type:
System Int32
Maximal size
- textLength
- Type:
System Int32
Text length
- errorText
- Type:
System String
Error text which will be returned in case of failure
- errorMsg
- Type:
System String
Custom error message; it's used if it differs from 'Invalid input' message
Return Value
Type:
True if field value is not shorter or longer than specified min/max borders.
See Also