Disable edit on Time Worked field

milesdpratt
Giga Contributor

We have a request to make the time worked field read only to disable edits to the time. I tried making it a read only field, but that removes the timer completely.

Anyone know how to keep the timer running but disable edits to the hours/minutes/seconds fields?

1 ACCEPTED SOLUTION

open ui policy and short desc is "Time worked read only"



Regards,


Harish


View solution in original post

14 REPLIES 14

ServiceNow




Uname and pwd : admin


I'm in now. I can't seem to tell what you changed to make this read only. Could you please explain your solution?


open ui policy and short desc is "Time worked read only"



Regards,


Harish


If the ui policy works I would use that over the DOM manipulation from my post.


Hi Brad,



                    I tried to use your code but its making all fields read only except icons like ref icon etc.



ServiceNow




Uname and pwd : admin




Create any problem ticket you can able to see read only fields like assigned_to , ci etc. But icon is selectable.




Regards,


Harish.