Showing results for 
Search instead for 
Did you mean: 
Post Partisan
Post Partisan

Displaying form using button

Is there a way that when a button has been pressed that a form can now be visible. I have a time sheet app with one form that has all  the day on the top as buttons, so what I want is that when a new weekly entry has begun and they want to fill in for Monday, the form should not appear yet till the Monday button has been pressed.

Super User III
Super User III


Use this code in the OnSelect property of a button

Set(varShowMonday, true);


Then put the variable inside of the Visible property of the form.



To hide the form once again use this code in the OnSelect property of some other button.

Set(varShowMonday, false);



Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (35,458)