Restrictining future dates in Date Picker

  • 7 November 2017
  • 2 replies
  • 165 views


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. 


2 replies

Badge +9

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

Badge +10

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)

 

Reply