Skip to content
Documentation menu

Validation Conditions

Validation conditions make sure a column only contains values that meet your rules, so your data stays reliable.

For example, you can allow only email addresses from your company domain, or only postal codes that are valid in your country.

A simple condition

Dialog defining a simple validation condition
Defining a simple validation condition

This condition matches if the cell value contains "@mycompany.com".

If Enforce Constraints is ticked, invalid values can’t be saved. If it’s unticked, invalid values show a warning.

Invalid cell value in the Grid with a warning icon
An invalid cell value in the Grid

The Grid shows a warning icon next to the invalid value.

Regular expressions

Dialog defining a regular expression validation condition
Defining a regular expression validation condition

A regular expression (regex) is a powerful and flexible way to define a condition. The one above matches 5-digit and 9-digit US ZIP codes.

Record edit dialog with an invalid value
The record edit dialog with an invalid value

Here, the ZIP_code field holds an invalid value. A warning icon appears because Enforce Constraints isn’t ticked. If it were, a red error icon would appear and you couldn’t save the record.

Record edit dialog with a valid value
The record edit dialog with a valid value

With a valid value in the ZIP_code field, the warning icon disappears.