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

Display Error Message When Value Selected in Dropdown

Hello, 

 

I need assistance with displaying an error message when a value is selected in a dropdown. 

 

The dropdown is datacardvalue2 and the values are "New Hire" and "Transfer/Promotion"

 

I want to display the error "Wrong form, please use the Transfer/Promotion form" if the value Transfer/Promotion is selected. 

 

I am still learning Powerapps.  I have tried the following in On Select for the dropdown: 

If(DataCardValue2.Selected.Value = "Transfer/Promotion", " ","Incorrect form, Please return and use the Transfer/Promotion form")

 

How should I handle this?

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

Try:

If(DataCardValue2.Selected.Value = "Transfer/Promotion",

Notify("Incorrect form, Please return and use the Transfer/Promotion form"))

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

3 REPLIES 3
eka24
Super User
Super User

Try:

If(DataCardValue2.Selected.Value = "Transfer/Promotion",

Notify("Incorrect form, Please return and use the Transfer/Promotion form"))

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

I tried that an error message is still not displaying.   I put it in the On Select for the dropdown. 

Disregard my previous message.  It is working now

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,706)