Can I disable the manual entry of date fields on a modal?

Sai Kumar
ServiceNow Employee
ServiceNow Employee

I have a modal where there is start date field where user need to use datepicker to select the valid date. Is there any way to disable the manual entry of the date instead direct user to use datepicker to select date?

2 REPLIES 2

Anirudh Pathak
Mega Sage

How can I write onload/onchange scripts on modal?