Click or drag to resize
ValidationRuleTValueValidate Method
Wrapped by IsValueValid(Object) which converts the value to type specified by the generic type. Override this method to apply desired validation.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
protected abstract bool Validate(
	TValue value
)

Parameters

value
Type: TValue
Value of the form component.

Return Value

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