Class FieldValidationService
- Namespace
- Dynamicweb.Forms.Rules
- Assembly
- Dynamicweb.Forms.dll
Contains the helper methods for work with rules and conditions.
- Inheritance
-
Field
Validation Service
- Inherited Members
Methods
GetConditionDataType(ConditionType, bool)
Returns the data type related to the condition type.
Parameters
conditionType
ConditionType The condition type.
isDateField
boolDefines is the field type is date.
Returns
- Type
The type of the data.
GetSuitableConditionTypes(Field)
Returns the suitable condition types for the field.
Parameters
field
FieldThe field.
Returns
- IEnumerable<Condition
Type > A collection of condition types.