SwetaAK2
Novice

Restrictining future dates in Date Picker


How do we disable the Future date from now() in date picker control? We would like to disable the future date from now (), so the user can not select future dates

0 Kudos
Reply
2 Replies
Kran
Apprentice

Re: Restrictining future dates in Date Picker

Hi SwetaAk2 ,

 

one of the possible way is using rules, refer below link.

 

Restrict previous dates in calendar

 

Let me know if this helps you

0 Kudos
Reply
AAschenbrener
Apprentice

Re: Restrictining future dates in Date Picker

Probably figured out this scenario but I ended up just creating an Advanced Condition Rule to restrict future dates

When DateField is Changed
Advanced condition is true  (DateField  >   SystemValue Date)

Show message (show message)

Execute Clear Method (click check box for same calendar field)

 

0 Kudos
Reply