Skip to content

Compare number of list items

Plugin ID: eca_count

Available since: 1.0.0

Condition to compare the number of list items.

Fields

Name of token containing the list — config key: left

Provide the name of the token that contains a list from which the number of items should be counted.

Type: textfield · Required: no · Default: empty string

Second value — config key: right

The second value to be compared.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

The list to be counted.

Comparison operator — config key: operator

The available comparison operators like equals or less than.
When using the "Defined by token" option, make sure there is a token with this name: eca_count_operator

Type: select · Required: no · Default: equal

Allowed values: equal, greaterthan, lessthan, atmost, atleast, _eca_token, ''

Comparison operator. Possible values:

  • equal
  • greater than
  • less than
  • starts with
  • ends with
  • contains
  • at least
  • at most
Comparison type — config key: type

The type of the comparison.
When using the "Defined by token" option, make sure there is a token with this name: eca_count_type

Type: select · Required: no · Default: numeric

Allowed values: numeric, _eca_token, ''

Case sensitive comparison — config key: case

Compare the values based on case sensitivity.

Type: checkbox · Required: no · Default: false

Negate the condition — config key: negate

Negates the condition. Makes TRUE to FALSE and vice versa.

Type: checkbox · Required: no · Default: false