Hi Guys,
I have a date field in on of our JSM request type, I would like to restrict users to pick out of only available dates & not all, for example out in below screenshot, only highlighted dates should be available for selection.
Is this something which is possible ? If yes, how so ?
Thanks in advance!
@Vishal -
I agreed with Radek's statement "There is no such customization available out of the box". The calendar widget is out of the box.
I would also recommend that you look for possible paid add-ons from Marketplace. Lastly, here is a link found in the community you can take a look at - Don't know if this one will give you some additional ideas..
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
There is no such customization available out of box. The whole date/datetime picker is all built-in, so there are technically only 2 options:
A) Creating your own custom field type (meaning a plugin has to be made/used to introduce such a field type); this field would implement your algorithm to which dates can be selected
B) Injecting javascript to customize the way the date picker works (if this date picker is on a customer form in the portal, there are additional problems to get any custom javascript in there)
Neither of the options would be exactly trivial. I'm happy to be proven wrong and not be the bearer of bad news - but I don't see any different option myself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.