Click or drag to resize
MaximumLengthValidationRuleValidate Method
Validates the form component's value and returns true if it is shorter or equal to the MaximumLength.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
protected override bool Validate(
	string value
)

Parameters

value
Type: SystemString
Value of the form component.

Return Value

Type: Boolean
true if the value is valid, otherwise false.
See Also