MaximumLengthValidationRuleValidate Method |
Validates the form component's value and returns
true if it is shorter or equal to the
MaximumLength.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax protected override bool Validate(
string value
)
Parameters
- value
- Type: SystemString
Value of the form component.
Return Value
Type:
Booleantrue if the value is valid, otherwise false.
See Also