function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hema SadasHema Sadas 

Greyout/disable calendar dates

We have requirement to greyout/disable all the dates greater than 5 days in the calender.  As this is not possible in salesforce out-of-box functionality, I am looking for ways to achieve this.  Can anyone help on this?
Sonam_SFDCSonam_SFDC
Hi Hema,

As the requirement you've mentioned isn't possible thru out of box - you can probably use the validation rules to make sure the user is not able to choose a date more than TODAY()  + 5