By using SSJS like @Date(“01/01/2010”) as the computed minimum or maximum.In my case it was something like
@Date(“01/01/”+viewScope.Year.toString());
My follow up question is on more complicated validation for dates.
Where and how can I do more complicated Validation that just a single date range?
Based on other items this date can’t be in several ranges, so I can just provide a simple range to validation. In a way similar to Meeting Scheduling. It needs to be with with a open slot.