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: 12.0.0
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