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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating Button to Dis...
Power Apps
Unanswered

Creating Button to Display Specific Buttons and Not All Buttons OnSelect Formula

(1) ShareShare
ReportReport
Posted on by 33

I could use some help with a formula so that when a user clicks my Add Carrier Feedback button it will only display my ButtonSubmitFeedback & ButtonCancelFeedback (highlighted in yellow of screenshot) instead of all the buttons circled in red.  In the screenshot I have my Edit button that is set up to display all 3 buttons circled on select which is how I want it to work.

 

In my Add Carrier Feedback button the formula to display the 3 circled buttons is Set(ShowBtns,!ShowBtns).  This is also the formula I use in the Edit Button to display all 3 circled buttons. What would be the formula so that Add Carrier Feedback on select would only display my ButtonSubmitFeedback & ButtonCancelFeedback buttons?

 

bts1906_1-1716412963534.png

 

 

Categories:
I have the same question (0)
  • Robu1 Profile Picture
    1,461 Super User 2025 Season 2 on at

    Hi @bts1906 ,

     

    To achieve the desired behaviour where the “Add Carrier Feedback” button displays only the “ButtonSubmitFeedback” and “ButtonCancelFeedback” buttons, you can use a conditional formula. Here’s how you can do it:

    1. Conditional Visibility Formula:

      • In the Visible property of your “ButtonSubmitFeedback” and “ButtonCancelFeedback” buttons, use a formula that checks whether the “Add Carrier Feedback” button is selected.
      • Assuming you have a variable (let’s call it ShowBtns) that toggles when the “Add Carrier Feedback” button is clicked, modify the Visible property of the other buttons as follows:
        • “ButtonSubmitFeedback”: ShowBtns
        • “ButtonCancelFeedback”: ShowBtns
        • Other buttons (e.g., “ButtonEdit”): !ShowBtns
    2. Explanation:

      • When the “Add Carrier Feedback” button is clicked, it sets ShowBtns to true, which makes the “ButtonSubmitFeedback” and “ButtonCancelFeedback” buttons visible.
      • The other buttons (e.g., “ButtonEdit”) will be hidden because their visibility is negated (!ShowBtns).
    3. Implementation:

      • In your app, go to the properties of each button.
      • Set the Visible property for the “ButtonSubmitFeedback” and “ButtonCancelFeedback” buttons using the formulas mentioned above.
      • Make sure to adjust the variable name (ShowBtns) to match your actual variable name.

    Summary: By using conditional visibility formulas, you can control which buttons are displayed based on the state of the “Add Carrier Feedback” button.

     

     

    If this post helps, then Click on the Thumbs Up below and Accept it as the solution to help others find it.
     
     
     
    Thanks,
     
     
     
    Robu1.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard