Announcements
If(IsBlank(Checkbox1.Value) Or (IsBlank(DatePicker1)),DisplayMode.Disabled,DisplayMode.Edit)
Currently doesn't work correctly even though i have no errors
in fact Checkbox1.values is already boolean, so you can try like this
If(Checkbox1.Value Or (IsBlank(DatePicker1.SelectedDate)),DisplayMode.Disabled,DisplayMode.Edit)
Hi,
Please try using below formula -
If(Checkbox1.Value && !IsBlank(DatePicker1.SelectedDate),DisplayMode.Edit,DisplayMode.Disabled)
or you can try below one
If(!Checkbox1.Value Or IsBlank(DatePicker1.SelectedDate),DisplayMode.Disabled,DisplayMode.Edit)
@olsen9
Your formula as given
If( IsBlank(Checkbox1.Value) Or (IsBlank(DatePicker1)), DisplayMode.Disabled, DisplayMode.Edit )
Will not work if the checkbox is unchecked.
So try it like this instead:
If( !Checkbox1.Value Or (IsBlank(DatePicker1)), DisplayMode.Disabled, DisplayMode.Edit )
Check if it helps @olsen9
These work but only if you have a date included, and click checkbox,then the 2nd box is enabled. as you can see I want either the top fields to be checked or have a date added to enable the disabled box below. Here is my example of it not working as I checked checkbox1
Swap the logic and check for if one is present, and if so use Edit, otherwise use Disabled.
If( Checkbox1.Value Or (!IsBlank(DatePicker1)), DisplayMode.Edit, DisplayMode.Disabled )
Now, if either the checkbox is checked, or the Date Picker is not blank, the other box will be enabled, otherwise it will be disabled:
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135