cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hnasir1231
Helper III
Helper III

Warning Creation

Hi All,

 

I am trying to create a warning alert on my app e.g. If someone skips a page (Screen) it should bring up a warning and ask the user to fill the missing areas before moving on to the next screen.

 

Is there a way around this?

 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
C-Papa
Super User
Super User

yes, set a variable to the dropdown selected value, if the value is blank, they have not selected anything, if its not then they have. i assume the dropdown will be blank to start with?

with the OnSelect of the Next Step button add

 

If(IsBlank(DropDown1.Selected.Value),Notify("No selection has been made in the dropdown", NotificationType.Warning),Navigate(YourNextScreenName))

 

This will notify the user if the dropdown is blank or navigate to the next screen if not. 

View solution in original post

3 REPLIES 3
C-Papa
Super User
Super User

Hi, by adding the below code to a suitable button OnSelect / event it will create a pop up message to notify the user;

 

Notify("A page has been missed, please go back and complete all required details", NotificationType.Warning)

Hi @C-Papa ,

 

Is there a way for the warning to flag up if the user hasnt selected anything in the dropdown and just skipped the screen.

Hnasir1231_0-1638290771781.png

 

Thank you.

C-Papa
Super User
Super User

yes, set a variable to the dropdown selected value, if the value is blank, they have not selected anything, if its not then they have. i assume the dropdown will be blank to start with?

with the OnSelect of the Next Step button add

 

If(IsBlank(DropDown1.Selected.Value),Notify("No selection has been made in the dropdown", NotificationType.Warning),Navigate(YourNextScreenName))

 

This will notify the user if the dropdown is blank or navigate to the next screen if not. 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (2,268)