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 / Button Visible for oth...
Power Apps
Unanswered

Button Visible for other button and hide for another

(0) ShareShare
ReportReport
Posted on by 24

Hi, 

 

can anybody help, I have a little issue regarding visible button. Here for illustration. 

innawan_0-1705378977117.png

 I have 5 form, and button on each form. For default button in form 5 is hide (4 button). And i want when i click button 1 in form 1, the button 1 in form 5 is visible, the other button in form 5 (2,3,4) still hide, and so on for other scenario.

can you please help with this.

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    Hi @innawan ,

     

    I recommend you set variables to control visibility of buttons in Form5, such as var1, var2, var3...

    Please try this:

    OnSelect of button in Form1:

    Set(var1,true)

    Visible of button1 in Form5:

    var1

    Same steps for other buttons.

    OnVisible of Screen or OnStart of App:

    Set(var1,false);
    Set(var2,false);
    Set(var3,false);
    Set(var4,false);

     

     

    Best regards,

    Rimmon

  • innawan Profile Picture
    24 on at

    Hi Rimmon, 

    Thank you for the reply. 

    Unfortunatelly, I have 3 form like form 5 in my apps.  It's means there will be 12 global variable to set.

    In your opinion, is there any simple way to achive that.

  • innawan Profile Picture
    24 on at

    Hi @v-mengmli-msft 

    Thank you for the reply. 

    Unfortunatelly, I have 3 form like form 5 in my apps.  It's means there will be 12 global variable to set.

    In your opinion, is there any simple way to achive that.

  • v-mengmli-msft Profile Picture
    on at

    Hi @innawan ,

     

    I am assuming that there are Form5-1, Form5-2, Form5-3 and Form5-4.

    When a button in form1 is clicked, will the buttons in Form5-1, Form5-2, etc. are displayed at the same time?

  • innawan Profile Picture
    24 on at

    Hi @v-mengmli-msft

    When a button in form1 is clicked, will the buttons in Form5-1, Form5-2, etc. are displayed at the same time?

    --> No Rimmon, above ilustration in for one process. My objective is when we open form 5 from form 1, and then close form 5 , it will navigate back to form 1.  And so on. 

  • v-mengmli-msft Profile Picture
    on at

    I'm afraid there's no better way to skip setting variables at the moment. Although the above method will set some variables, it is simple and stable.

  • innawan Profile Picture
    24 on at

    Ok, Rimmon. Thanks, If so, I will use that method. Thanks

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard