Can anyone help if it's possible to pop up the Date picker on clicking the Field (rather than clicking on the date picker)

rajalakshmi12
Mega Expert

Hi Team, Can anyone help if it's possible to pop up the Date picker on clicking the Field (rather than clicking on the date picker)

Thank you

5 REPLIES 5

Gaurav Bajaj
Kilo Sage

Hi,



I think that feasible with external JS datepickers but then you will have to parse and format it to store in servicenow Date fields.



https://jqueryui.com/datepicker/




Thanks


Gaurav


Thank you for the Help.



I can implement this in a new field which I would create, but is that feasible to modify or override for the existing fild with type as 'Date'


I don't think so, either you can use it in a UI page with HTML tags or can add a field of UI macro type to your table where you can create a text field and call datepicker on top of it. I have also used in my custom UI pages.




Please mark correct/helpful based on the impact of the response.




Thanks


Gaurav


tostha
Mega Contributor

Form Field on focus / on click javascript - see example http://jqueryui.com/datepicker/