hello
I need help on a subject. Unfortunately I can't find an answer to my problem.
I would like to hide the date selection if the full extraction button is activated.
I have tested this function:
When I use it, the selection of dates is hidden when the button is activated. However, when I come back to the deactivated state, the dates are not visible.
Solved! Go to Solution.
@Anonymous
Very good! Can you please click on Accept as Solution so that others who might have your problem can find a solution quickly. Thanks.
@Anonymous
Do you have any formulas to share?
In general, your DisplayMode properties of the two DatePickers should be based on the state of the "Full Extraction" toggle.
This formula in the DisplayMode property of both datepickers should yield what you are looking for.
If(yourFullExtractionToggle.Value, Disabled, Edit)
Replace the "yourFullExtractionToggle" with the name of your toggle control.
I hope this is helpful for you.
Hi @Anonymous ,
Do you want to change a date picker's visibility based on a toggle whether is checked?
If so, you need to set the date picker's Visible property , not DisplayMode.
You could set the datepicker's Visible like this:
If(!Togglename.Value,true,false)
//if the toggle is checked, the datepicker will be invisible.
If the toggle is unchecked, the datepicker will be visible.
Best regards,
@Anonymous
I might have understood that you wanted the datepickers to be disabled rather than visible.
Yes, if you want the visibility to be changed, then set the Visible property of the datepickers to : yourFullExtractionToggle.Value
Three is no need for the extra If...true, false stuff.
Again, replacing the "yourFullExtractionToggle" with the name of your toggle control.
thank you for your help.
It's works now 🙂
@Anonymous
Very good! Can you please click on Accept as Solution so that others who might have your problem can find a solution quickly. Thanks.
Hi @Anonymous ,
Yes, could you mark my answer as a solution if my answer help you?
Thanks!
Best regards,
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
181 | |
137 | |
96 | |
83 |