Click or drag to resize
RegularExpressionValidationRuleValidate Method
Validates the form component's value and returns true if the value is valid.

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