Table of Contents

Class FieldValidationService

Namespace
Dynamicweb.Forms.Rules
Assembly
Dynamicweb.Forms.dll

Contains the helper methods for work with rules and conditions.

public class FieldValidationService
Inheritance
FieldValidationService
Inherited Members

Methods

GetConditionDataType(ConditionType, bool)

Returns the data type related to the condition type.

public static Type GetConditionDataType(ConditionType conditionType, bool isDateField)

Parameters

conditionType ConditionType

The condition type.

isDateField bool

Defines is the field type is date.

Returns

Type

The type of the data.

GetSuitableConditionTypes(Field)

Returns the suitable condition types for the field.

public static IEnumerable<ConditionType> GetSuitableConditionTypes(Field field)

Parameters

field Field

The field.

Returns

IEnumerable<ConditionType>

A collection of condition types.

To top