cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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.

1 REPLY 1
Super User III
Super User III

@SandraAkujobi

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.

varShowMonday

 

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

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

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)