Any possibility to to make past dates are Readonly/grey out in in Calander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 08:20 PM
HI There,
Any Possibility is there to make past Dates are not selectable, i don't need any comparision and then clearing the value thing, when user see the calender he/she can select only feature date only.
Regards,
Rajesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 10:06 PM
Hi @Gillerla Rajesh,
I don't believe it's possible to gray out dates. However, you can create a UI policy or client script that checks the selected date and informs the user that past dates are not a valid selection
"If you found my answer helpful, please give it a like and mark it as the accepted solution. It helps others find the solution more easily and supports the community!"
Thanks & Regards,
Barath.P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 10:43 PM
Hello @Gillerla Rajesh , It's good to have this feature, but to my understanding, there is no such feature available. one of the possible solutions is validating the dates with help of UI Policy.
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 10:46 PM
No, there is no such feature but what is your use case here? You'd better go OOTB, UI policy way and put the code if you need a back date and then get the error message.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2025 06:37 AM
This is not possible within ServiceNow.
You will have to use either UI policy or client script to perform the validation.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader