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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (2,910)