Click or drag to resize
IFormComponentValidatorValidateComponentValue Method
Validates bound component value and component's validation rules.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
IEnumerable<string> ValidateComponentValue(
	FormComponent component
)

Parameters

component
Type: Kentico.Forms.Web.MvcFormComponent
Component whose value is validated.

Return Value

Type: IEnumerableString
Enumeration of validation errors, empty if validation succeeded.
See Also