Forum Discussion
Henrik Stentebjerg Tobiassen
Mar 09, 2017Copper Contributor
Make field visible depended on other field - Powerapps
Hi, I am trying to make this date recieved field visible if the checkbox is checked and not visible is the checkbox not is checked. Can't really get it to work. Any suggestions ?
Rodney Craigo
Mar 14, 2017Brass Contributor
Create a Context Variable in the OnVisible property of your Screen
Set the Visible property of the Calendar control to the Context Variable
Change the Context Variable accordingly with the OnCheck and UnCheck properties of your Toggle Control.
Hope this helps.
Keith
Henrik Stentebjerg Tobiassen
Mar 27, 2017Copper Contributor
Thanks! It is working. Only problem is that it is affecting all the dates when I check/uncheck. Can it be done so it only affect the relevant date on the record it belongs to?
- Rodney CraigoMar 28, 2017Brass Contributor
Hi Henrik,
In this case you don't need the Context Variable, just set the Visible property of your date control to the toggle button name