Configure a regex for Text Field
Status
Release Available | Status | Framework Name |
---|---|---|
Current | TBC |
General
A RegEx, or Regular Expression, is a sequence of characters that forms a search pattern. RegEx can be used to check if a string contains the specified search pattern.
Code JSON
Copy
fieldUi”: {
“required”: true,
“regex”: “^(\\+)?(\\d{9,14})$”,
“messages”: {
“requiredErrorText”: “...”
“regexErrorText”: “...”
}
}