web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / make sure dropdowns ha...
Power Apps
Answered

make sure dropdowns have a value selected

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have 2 dropdowns on a screen(not bound to a form)

 

I have a button with this current code.

If(IsBlank(Topics_Input.Selected.Result) || Subtopic_Input.Selected.Result ="<Select Drop Down>", UpdateContext({visible:false}),UpdateContext({visible:true}))

 

What I need:

The default value for both dropdowns is "<Select Drop Down>"

if they have not selected a value other than the default, in either one,

I need a stop to correct the mistake and make a selection.
Thanks

Dave

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    I am not clear on your exact scenario, but it sound like you have a Button that you want to make not visible if the two DropDown's have "<Select Drop Down>" selected.

    If so, then I would have you consider the following Formula for your visible property of the button:

    (Topics_Input.Selected.Result = "<Select Drop Down>") || 
    (Subtopic_Input.Selected.Result ="<Select Drop Down>")

     I believe you might be thinking you can set the visible property with an updateContext statement?? If so, that is not an option in PowerApps.

     

    I hope this is helpful for you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard