Help Center
Data

Conditional rules

Let a field compute its own value from another field — "IF status = Sold THEN red".

Conditional rules

A conditional rule sets a field's value automatically based on another field in the same schema. Typical uses:

  • A Color field that turns red when status is "Sold".
  • An Image field that shows a flag depending on country.
  • A Text field that says "No bids yet" when bid is empty.

Adding a rule

  1. Open the schema (Data → Schemas) and edit a field, or create a new one. Rules are available once the schema has at least one other field.
  2. Under Conditional Rules, click Add rule.
  3. Fill in the row: IF field operator value THEN result.
  4. Add more rules if needed, then save the field.

The result input matches the field type: a color picker for Color fields, an image URL with a media picker for Image fields, and a text box for everything else. A field with rules shows a ⚡ rule count in the field list.

Operators

Operator Matches when the other field…
= equals the value exactly
≠ does not equal the value
contains contains the value (not case-sensitive)
excludes does not contain the value (not case-sensitive)
> < ≥ ≤ compared as numbers

Leave the value empty with = to match an empty field. contains and excludes with an empty value never match.

How rules are evaluated

  • Rules are checked from top to bottom. The first rule that matches sets the value; the rest are ignored.
  • If no rule matches, the field keeps the value it already has.
  • In list datasets, rules run separately for every row.

When rules run

  • When a manual dataset is saved (including saves from the Graphic Data page).
  • When a mapped dataset is refreshed.
  • When any field in the schema is created, edited or deleted — rules are re-run on every dataset that uses the schema.

Computed fields in the editor

A field with rules is read-only in the dataset editor. In an object dataset it is labelled Computed; in a list dataset its value is shown as plain text. Edit the field it depends on instead, then save.