I'm sure I am overlooking something here but I am trying to change the FocusBorderColor based on 3 conditions. Right now I have this which I though was going to be fine except that when you focus the field and it is blank the border is DarkRed.
If(Self.SelectedDate <= DP_StartDate.SelectedDate && (FRM_Main.Mode = FormMode.New), DarkRed ,REC_CtrlSelBdrColor.Fill)
What I need to be able to do is add a condition that makes sure that the FocusBorderColor remains the same if the date picker is also blank. I've tried adding an additional condition this way but it fails: && !Blank(Self.SelectedDate)
Pretty close. Needed to use !IsBlank instead of IsBlank.
Try using IsBlank(Self.SelectedDate)
Example: If(IsBlank(Self.SelectedDate) && Self.SelectedDate <= DP_StartDate.SelectedDate && (FRM_Main.Mode = FormMode.New), DarkRed ,REC_CtrlSelBdrColor.Fill)
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional