Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ValidationRegular expression
Value is empty^\s*$

Value NOT matching something 

(Allow everything, but 'something'. Useful when you would like to apply validation on dropdown fields)

^(?!something).*$
Value is not empty^(?=\s*\S).*$
Value is alphanumeric^[a-zA-Z0-9]*$
Value contains only letters^[a-zA-Z]*$
Value length (1-20 chars)^.{1,20}$
Only numbers^[0-9,;]+$
Checks if the field's value is unique within the dataset[unique]
Checks if the field's value is unique within the dataset and ensures it's length (1-20 chars)^.{1,20}$[unique]
Allow only PDF files (files with "pdf" file extension).*?\.pdf