cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Error message box

In a model driven app, is it possible to display error messages to the end-user in a message box if the validation fails?

1 ACCEPTED SOLUTION

Accepted Solutions
Frequent Visitor

Yes it is definitely possible and can be done in many ways 

  1. Business rule - If you need to validate something and show an error message on a specific field
    1. Create a business rule on that entity
    2. Add a condition
    3. Show error message based on the above condition
  2. Real-Time Workflow – 
    1. Go to Solution--> Processes
    2. Create a real-time workflow on that entity
    3. Add a check condition
    4. Stop Workflow with canceled --> Click on properties and enter your custom message in there
  3. Web Resource - Custom logic using JavaScript
  4. Plugin 

View solution in original post

1 REPLY 1
Frequent Visitor

Yes it is definitely possible and can be done in many ways 

  1. Business rule - If you need to validate something and show an error message on a specific field
    1. Create a business rule on that entity
    2. Add a condition
    3. Show error message based on the above condition
  2. Real-Time Workflow – 
    1. Go to Solution--> Processes
    2. Create a real-time workflow on that entity
    3. Add a check condition
    4. Stop Workflow with canceled --> Click on properties and enter your custom message in there
  3. Web Resource - Custom logic using JavaScript
  4. Plugin 

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Users online (34,427)