cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bwebmasta
Helper I
Helper I

Display Notification

Hey, I am doing the following:

1. Disable a button based on an if statement is met. For example, if a user logged in only has a certain amount of money then disable the button so they can move forward. 

2. Also show a notification to say "You don't have enough money to purchase...blah, blah..

 

I have one part figured out, I added this to the Display Mode of the button: If (Value(Label1.Text) < 300 ,DisplayMode.Disabled) 

The button will disable if the value in the text box meets my threshold, but how to add in to display the notification? I need both actions to happen at the same time. Am I using the best method to disable the button? 

10 REPLIES 10

Hi @bwebmasta ,

Based on the needs that you mentioned, I think the OnVisible property of the screen could achieve your needs (I think this the better solution for your current scenario).

 

Have you taken a try with the solution I provided above? If the OnVisible property of the screen could achieve your needs, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Currently, I could not come up with better solution except the OnVisible property of Screen for your scenario. If we find better solution for your scenario, I would reply here.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (80,374)