Skip to main content

Pattern

A Pattern field checks that a value matches a pattern, written as a regular expression.

Options​

Pattern holds the expression, such as ^\d{4}-\d{2}-\d{2}$ for a date like 2025-06-07.

How values are checked​

The pattern may match anywhere in the value, so start it with ^ and end it with $ to check the whole value. The value itself is not changed. A value that does not match gives the error "Value doesn't match the pattern".