Table of Contents

Interface ISingleFieldFormValidationRule

Namespace
Kentico.Forms.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Interface for form builder validation rules that validate individual form fields.

public interface ISingleFieldFormValidationRule : IFormValidationRule
Inherited Members
Extension Methods

Methods

IsValueValid(object, CancellationToken)

Indicates whether value is a valid value of underlying form field.

Task<bool> IsValueValid(object value, CancellationToken cancellationToken)

Parameters

value object

The value to validate.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<bool>