IFormComponentValidatorValidateComponentValue Method |
Validates bound component value and component's validation rules.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax IEnumerable<string> ValidateComponentValue(
FormComponent component
)
Parameters
- component
- Type: Kentico.Forms.Web.MvcFormComponent
Component whose value is validated.
Return Value
Type:
IEnumerableStringEnumeration of validation errors, empty if validation succeeded.
See Also