Regex validation

,

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.


Hi @ibrahim,
you can use the Help Block to inform the user about the text validation.

Yes, but showing the regex value in the UI is not recommended right.

Correct. But you can write a text in the Help Block. For example if the regexp is “[0-9a-z]+” you can write something similar to “Please use only digits and lowercase letters”.

Yes @smartini. Thanks for your suggestions.