HCL Leap 9.0 and FEB 8.6 Single Line fields provide a simple way for users to add validation logic to single line fieldsvalidate user-entered content. The properties settings for this field type allow you to specify a pattern to match and an error message.
...
For example, you may want to validate a single line field as a US based phone number. In the onItemChange event of the field you would place:
...