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 / Button appear when fie...
Power Apps
Answered

Button appear when fields have input then disappear on select

(0) ShareShare
ReportReport
Posted on by

I have a button that will appear when I have fields that are changed. I'm trying to have the button disappear after it is pressed but reappear when changes happen.

My button Visible function now:

If(!IsBlank(PassInput) Or !IsBlank(ExitInput),true)

So my button will appear when those fields are not blank.

 

How do I go about this?

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    If you are using a form to get the input, replace the Button control visible property with the following code.

    If(!IsBlank(PassInput) Or !IsBlank(ExitInput),true,false); 
    ResetForm(YourFormName)

    That is if PassInput or ExitInput is not empty, the button will be visible other wise the button will be invisible.

    If you still have question feel free to ask.

     

  • kingy61422 Profile Picture
    on at

    I'm using multiple galleries on one screen not a form. I also have multiple text input boxes across those galleries. I want the button to be visible when changes happen in those text input boxes and become invisible when you select the button. 

  • Verified answer
    kingy61422 Profile Picture
    on at

    I found the answer by using variables and changing if the variable is true or not.

    Made the screen OnVisible property:

    UpdateContext({SaveChanges:false})

     

    Made the OnChange property of the text box:

    UpdateContext({SaveChanges:true})

     

    Made my button OnSelect property:

    UpdateContext({SaveChanges:false})

     

    Made my button Visible property:

    If(SaveChanges = true, true)

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard