Need to show only 6 months dates in End date field

Haresh Haru
Tera Expert

Hello All,

 

Like i have to show only 6 months dates in End date variable in portal when the user selects the end date.

 

EXample : If user click on that end date picker today may month then after sex months means october month only then other months it should show read only.

 

HareshHaru_0-1715355701556.png

 

Regards,

Haresh

1 REPLY 1

Sujatha V M
Kilo Patron
Kilo Patron

@Haresh Haru  As far as I'm aware of it, I don't think it's possible to gray out dates. Instead, you can have a script that looks at selected date and alert the users that its not a valid selection.

 

Reference links : https://www.servicenow.com/community/service-management-forum/how-to-grade-out-previous-dates-in-dat...

 

https://www.servicenow.com/community/csm-forum/make-past-and-non-available-dates-invisible-gray-out-...

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.