Can I customize the date picker?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hello. After I create a field with the Date Time type, I want to customize it. I don’t want users to be able to select Saturdays or Sundays—those days should be disabled/read-only. How can I customize the date picker?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
ahoy @Talismann,
i don't think there's an easy way to disallow selecting Sunday in the date picker, instead you might want to write client script or UI policy to block the submission if the selected day is Sunday, accompanied with an error message to explain why it was not submitted and eventually a field message to the date picker to inform before it was seelected
✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I agree with what @glideFather mentioned.
please use that approach and let us know if stuck anywhere.
sharing some links for you to get started
Select only Business Days excluding holidays
Select Weekdays in the date field
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
