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 / Please help! I want to...
Power Apps
Answered

Please help! I want to hide the submit button if a record has an "Active" status and only show it if it is "Inactive".

(0) ShareShare
ReportReport
Posted on by

I have a column called "Status" in my Project Request table. When I enter a new project, I patched this to inactive until the user finishes entering all the fields. Then, they can either save or submit. If they click save, its status stays inactive and is marked as draft. If they click submit, its status changes to active. Both inactive and active projects are viewable/editable on the browse project screen. What I want to do is if I edit an inactive project, the submit button should appear, but when I edit an active project, the submit button should not be visible. Do you know how I can accomplish this?

teach20_0-1674757018902.png

 

Categories:
I have the same question (0)
  • SteveAtTCH Profile Picture
    57 on at

    hi @teach20 ... I think you can pull this off by simply referencing the Status value in the Visible property for your submit button...

     

    I'm making the assumption that you have the Project Request loaded into a variable of some sort on the page...

    if so, you would use something like this in the submit button's visibility property:

     

    varMyProjectVariable.Status = "Active"

     


    since the visibility property is a boolean, if that statement is true, the button will be visible for your user... otherwise its hidden


  • Verified answer
    teach20 Profile Picture
    on at

    Just an update, I solved it by using an If function in the Visible property. The formula I used is 

    If (galProjects.Selected.Status = 'Status (Project Request)'.Inactive, true, false)

     

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 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard