Mar 09 2017 07:07 AM
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 ?
Mar 13 2017 02:08 PM
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.
Mar 14 2017 06:17 AM
Hi Rodney,
Thanks for your input. Can you maybe sent a screenshot, because I can not get it to work.
Thank you
Mar 14 2017 07:01 AM
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
Mar 27 2017 02:47 AM
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?
Mar 28 2017 07:50 AM
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
Aug 31 2017 12:49 PM
I was looking in to how to use the Visible because it isn't straight foward when I started to think it's going to need to be set on the page load. Then I saw you had it all spelled out. NICE! thank you (Y)
Sep 02 2017 06:22 AM
Hi Jerome,
Your welcome.
I'm gald you found this useful.
Sep 22 2017 08:47 AM - edited Apr 30 2018 09:22 AM
Sep 22 2017 08:47 AM - edited Apr 30 2018 09:22 AM
Older question, new functionality. 🙂 Just wanted to make sure this was on the thread now that it's rolling out: Rules capabilities to show/hide and other.https://powerapps.microsoft.com/en-us/tutorials/working-with-rules/
UPDATE: New link for rules article:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-rules
Apr 25 2018 11:17 PM
Hi Rodney,
I have recently started learning powerApps and i came accros your solution to make a column visible based on the value of another column/field.
I am currently looking to know about about the visible property screenshot you had shared. In my screen the visible property is a toggle button (screenshot attached).
Can you please tell me how I am supposed to set the variable i.e. cVisible for this column?
Thanks for your help.
Apr 25 2018 11:19 PM
Hi Wes,
The following link https://powerapps.microsoft.com/en-us/tutorials/working-with-rules/ seems to be not working now.
Do you have any alternate link?
Apr 30 2018 09:20 AM
Apr 30 2018 04:14 PM
Oct 17 2018 02:56 AM
Sep 11 2019 08:10 PM
Shouldn't it be:
If(Received.Value=false, false, true)
??
I don't think you need the 'Selected' option here and if you inclose the expected value of the toggle in double quotes it means you are expecting the output to be a string while the output of the toggle is actually a boolean. It outputs true or false, not "true" or "false".
Please correct me if I'm wrong.
Sep 11 2019 10:52 PM
May 21 2020 12:40 AM
@Rodney Craigo - Thanks - 🙂
Dec 07 2020 06:23 PM
@Rodney Craigo this was a big help to me. It's exactly what I needed. Thank you!
Feb 02 2021 02:05 AM
@Rodney Craigo THANK YOU SOOO MUCHHH¡¡¡¡¡¡¡¡¡¡¡
IT WORKED REALLY WELL FOR ME!!!!!!!!!!
Jun 18 2021 05:08 AM