div-input-validator-expression

Calculated expression validator.

Parameters

Parameters Description
condition

bool_int

Required parameter.

Calculated expression used as a value validity condition.

label_id

string

Required parameter.

ID of the text element containing the error message. The message will also be used for providing access.

type

string

Required parameter.

The value must always be expression.

variable

string

Required parameter.

The name of the variable that stores the calculation results.

allow_empty

bool_int

Determines whether the empty field value is valid.

Default value: false.

JSON
{
  type*: "expression",
  allow_empty: "bool_int",
  condition*: "bool_int",
  label_id*: "string",
  variable*: "string"
}