Notifications
Announcements
Hi All,
This would be a easy one
How to check if date picker has a date selected in it or not
Because displaymode of my toggle depends on it.
If date selected then toggle in edit mode
If date not selected then toggle in disabled mode
Please help
@AshishJaiswal
Set your displaymode property to the following formula:
If(IsBlank(yourDatePicker.SelectedDate), Disabled, Edit)
I hope this is helpful for you.
@RandyHayes
Hello Again ! I'm already due to give you one week of beer supply.Actually here is the caseIf Toggle1 is selected (yes/no) then datepicker1 will be in edit.modeIf datepicker1 is in editmode ( something selected in it) then toggle2 will do in edit modeNow the thing isi would like to reset the datepicker1 if toggle1.value is set no (or changed from yes to no)
I'll gladly accept more beer supply 😁
So, your Toggle1 OnUncheck action should be : Reset(yourDatePicker)
Your DatePicker DisplayMode should be : If(Toggle1.Value, Edit, Disabled)
Your Toggle2 DisplayMode will be as previously mentioned: If(IsBlank(yourDatePicker.SelectedDate), Disabled, Edit)
haha... you bet.
I found the fix.
if(toggle1.vale = false, reset(datepicker1) ) amd it is working fine.
Very good! Sounds like you're underway now.
I am learning from you all... member of the community. Big thank you to all
and to you Randy... always ready to help (I gave you a shout out on Twitter)
Awesome!! Keep on learning!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268