How to override the Invalid Number message ?

0
Hello, I have a text field which is representing the integer attribute of an entity. When I feed alphabetic character to the text field, I am getting “Invalid Number”. How to override the default message (Invalid Number) and instead of default message I have to display the custom message.   Following options are not working:       at  Entity validation validation with regex.       at Text field property level.  
asked
2 answers
1

Not possible since it is standard behavior of this data-type. A bit cumbersome, but you can create another entity-attribute of type string and pass the value into that one, do your check and if ok, pass it on. But that is too much trouble for little gain.

answered
1

You can update the validation message from the System texts under the project module.



And you can create a custom validation by adding an On change event on the text field to call a Microflow or Nanoflow, and add the regex on a decision and the message can be added into a validation feedback action activity.

answered