cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SandraAkujobi
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
mdevaney
Super User
Super User

@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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,272)