Table of Contents

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

ConditionType

ConditionValue

Gets or sets the condition value.

public object? ConditionValue { get; set; }

Property Value

object

FieldId

Gets or sets the Field ID where the rule is applied.

public int FieldId { get; set; }

Property Value

int

Id

Gets the ID.

public int Id { get; }

Property Value

int

IsActive

Gets or sets the value determines whether the Rule is active.

public bool IsActive { get; set; }

Property Value

bool

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; }

Property Value

int
To top