I have a dateField on a SAIL form. I need to add an validation that the selected

Certified Lead Developer
I have a dateField on a SAIL form. I need to add an validation that the selected date must not be in the past. I am in MST. I have added like:
load(
local!selectedDate: today(),
a!dateField(
label: "Start Date",
labelPosition: "ABOVE",
value: local!selectedDate,
saveInto: {
local!selectedDate
},
validations: {
if(
local!selectedDate < today(),
"Date must be current or in future",
""
)
}
)
)

The issue I am facing is that the validation works fine till 5 PM MST only. After that it doesn't work. How should this be handled?

OriginalPostID-198781

OriginalPostID-198781

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data