Question
Virtusa
IN
Last activity: 5 Nov 2025 12:08 EST
How can I disable past dates in a DateTime control in Pega 23?
I need to disable all past dates in a DateTime control so that users can only select today or future dates.
I tried using the Date option in the repeating layout, In the presentation tab Display range i have unchecked Previous checkbox but it only restricts years and does not gray out past days. Also, when I use Date Range inside a repeating layout, I get an error saying “Date Range is not supported in repeating layout” and cannot save the section.
Is there a way to achieve this using Min Date or any other configuration in Pega 23? Ideally, I want past dates to be grayed out and non-selectable in the calendar popup for each row in a repeating layout.
Any suggestions or best practices would be appreciated.