We’ve added the ability to add a custom validation with the Regular Expression (ECMA flavour) to our fields on Pages: short text, long text, email, url, date and number.
From now it is possible to customise the field by setting the RegEx, connecting it with the Default Value and if needed the Helper Text.
Possible use cases:
Short text/long text: do not use numbers or any special characters, RegEx example:
Email: accept only company email, RegEx example:
Url: accept only https urls, RegEx example:
Date: accept dates only between 1900-2999, RegEx example:
Number: accept only numbers from 1 to 5, RegEx example: