cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
giaNoc
Level: Power Up

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"

Or

If Name contains "2"

Then Show the error message "You cannot enter numbers"

Or...

 

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

2 REPLIES 2
Community Support Team
Community Support Team

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

Hi @giaNoc 

 

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

You can reference this doc shows to test:

create-business-rules-recommendations-apply-logic-form

 

20190522businessruletest.PNG

 

Hope this could be helpful.

 

Best Regards.

Yumia

PowerApps Staff HemantG
PowerApps Staff

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

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.

 

Hemant

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 209 members 3,974 guests
Please welcome our newest community members: