Forum Discussion
Make field visible depended on other field - Powerapps
Hi,
In the OnVisible property of your screen, create a Context Variable and set it's value to false.
UpdateContext({cVisible: false})
Then set the calandar controls Visible property to to the context variable, in this example that would be cVisible
On the check box control set the OnCheck property to update the Context variable
UpdateContext({cVisible: true})
You can reset the context variable in the checkbox OnUnCheck property to reset as well
to get a toggle effect.
UpdateContext({cVisible: false})
Hope this helps.
These were short and sweet instructions! Very elegant!!!
I modified this to work on a search box, hid the gallery until something was entered on the search box. Turned on a loading icon until data was retuned. It worked really well!
Thank you.
- DoomglazerApr 05, 2022Copper ContributorMarcoNardi
Im looking exacly for what you have modified. Could you share the code with me?
Thanx in advance