In string text field

0
In string text field , I want to be letters only to restrict this field from entering numbers and any special characters Ex: XYZ .
asked
2 answers
5

Hi Ajith.,

Use this Regular Expression (^[A-Z a-z]+$)

 

Hope it Help you

Thankyou..

answered
2

Hi Ajith,

 

You can write a microflow for validation of the entity:-

 

First, create a regular expression “^[a-zA-Z]*$” in Mendix and call a microflow on the save button of the page where you are filling these values.

 

In the microflow add a decision box and check for the value that is equal to the regex or not if equal then commit and if not equal then Show a validation feedback message there.

 

Hope it helps!

answered