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 / How can I disable my b...
Power Apps
Unanswered

How can I disable my button based on selected Values?

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I am looking for a way to disable the displaymode of my Submit button based on the following conditions:

1) If 'Other' is selected in the drop down list of Combo Box.

2) If no item is selected in the drop down list e.g. when someone loads the app it will show disabled till they select an option.

 

What is the easiest to go around this please

 

Config :

ComboBox1.Selected.Value

 

Masum172_0-1679322205950.png

 

Categories:
I have the same question (0)
  • mmollet Profile Picture
    3,187 on at

    Make your viewmode on the button the following:

    If(dropdown1.selected.value = "Other" And dropdown2.selected.value = "Nothing", ViewMode.Disabled, ViewMode.Edit)

     

    If by nothing you mean that the dropdown is empty and nothing was selected then change the dropdown2.selected.value = "Nothing" to IsBlank(dropdown2) and this should work. You will have to make sure that the defualt value for the dropdown is blank for this to work of course.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard