Class Rule
- Namespace
- Dynamicweb.Forms.Rules
- Assembly
- Dynamicweb.Forms.dll
Represents the rule for the form field.
public class Rule
- Inheritance
-
Rule
- Inherited Members
Properties
ConditionType
Gets or sets the condition type for the rule.
public ConditionType ConditionType { get; set; }
Property Value
ConditionValue
Gets or sets the condition value.
public object? ConditionValue { get; set; }
Property Value
FieldId
Gets or sets the Field ID where the rule is applied.
public int FieldId { get; set; }
Property Value
Id
Gets the ID.
public int Id { get; }
Property Value
IsActive
Gets or sets the value determines whether the Rule is active.
public bool IsActive { get; set; }
Property Value
TargetFieldId
Gets or sets the Field ID used for rule check. If all target field rules are valid, this rule is also valid. Uses only for field visibility rules!
public int TargetFieldId { get; set; }