div-input-validator-expression

Calculated expression validator.

Parameters

Parameters Description
condition

bool_int

Required parameter.

Calculated expression used as a value validity condition.

Available platforms: Android, iOS, web.

label_id

string

Required parameter.

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

Available platforms: Android, iOS, web.

type

string

Required parameter.

The value must always be expression.

Available platforms: Android, iOS, web.

variable

string

Required parameter.

The name of the variable that stores the calculation results.

Available platforms: Android, iOS, web.

allow_empty

bool_int

Determines whether the empty field value is valid.

Default value: false.

Available platforms: Android, iOS, web.

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