Is Date fields future or past date can be grey out?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
I have a requirement to grey out the past dates for a catalog date variable so that users cannot select them. Currently, I have implemented a clearValue approach, but I want to know if it is possible to directly grey out the past dates instead
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
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! 🙏
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader

