Showing results for 
Search instead for 
Did you mean: 
New Member

model driven apps: business rules to avoid the insert of numbers for a field of an entity

I have a field of an entity where I would like to avoid the insert of number 1,2,3,4,5,6,7,8,9,0.

I used 10 different business rules in OR with this format:

If Name contains "1"

Then Show the error message "You cannot enter numbers"


If Name contains "2"

Then Show the error message "You cannot enter numbers"



I would like to understand if exist a regular expression for this scenario.

Community Support
Community Support

Hi @giaNoc 


Do you want to create the judge condition for your entity field?

You can reference this doc shows to test:





Hope this could be helpful.


Best Regards.


Check out the input mask control if that can address the requirement. 


You can use ClientAPIs  which would enble use of JS regular expressions.


Depending upon what is your end goal and complexity/custom US need , PowerApps component framework is a great alternative. See some community demo controls here.



Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Users online (8,308)