For input text type we are having the options to add regex to validate the field. However, it shows the same regex in the error message. So, it’s hard for the end user to understand the conditions. So it will be great to add one more field for regex message.
It would be a good UX improvement to offer an additional field in the form configuration tool, which for each input allows a validation fail message to be set.