Is it possible to grey out past date fields in calendar? 
						
					
					
				
			
		
	
			
	
	
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎09-26-2019 04:35 AM
Is it possible to grey out past date fields in calendar? If not why
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎09-26-2019 04:50 AM
Hi ,
I don't think it's possible with the date field that ServiceNow uses. you could run an onchange client script on it and do some validation after they select the date, but it's not as good a user experience.
Something that I have seen is to create a custom date field in a ui macro and do some of that validation with a jquery plugin, then use a formatter to show the macro on a form. You can populate a hidden date field after they select the date in the macro.
If my reply helps you at all, I’d really appreciate it if you click the Helpful button !
Regards ,
Apeksha
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎09-26-2019 05:08 AM
We already have a date validation in place. What i am trying to understand is,
>Is it possible to update anything and make the past date greyed and non selectable.
> I need it only for one catalog item. Will this be a global change?
