glideFather
Tera Patron

Hi @Sruthi_2511,

 

I don't think there's an option to restrict the selection to future dates only.

 

What you can do is restriction upon change of submisison to inform that a selected date must be in the future and disallow to submit/update...

 

Also, you can add an error message

Dr Atul - LNG
Tera Patron

Not possible. It’s better to add script logic validation to prevent the user from selecting an invalid date, or to show an error if they select a past or future date, as per the requirement.

Tanushree Maiti
Tera Patron

Hi @Sruthi_2511 

 

It is NOT possible with the date field to make it grey.  You can run UI policy or onchange client script on it and do some validation  and show some message (info/error) .

DallanF
Tera Contributor

To make outdated or previous date field values appear greyed out in ServiceNow, you can use client-side scripting to dynamically adjust the field's appearance. 

Ankur Bawiskar
Tera Patron

@Sruthi_2511 

Out of the box this is not feasible but you can try to use some workaround to grey out those using DOM manipulation

This is required on normal form or portal?

Note: DOM manipulation is not recommended practice

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏