web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / model driven apps: bus...
Power Apps
Unanswered

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

(0) ShareShare
ReportReport
Posted on by

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.

I have the same question (0)
  • v-yuxima-msft Profile Picture
    on at

    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

  • Hemant Gaur Profile Picture
    on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard