- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2014 07:08 AM
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?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2014 07:48 AM
open ui policy and short desc is "Time worked read only"
Regards,
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2014 07:19 AM
You could put the following in an onload client script:
$$('.input_controls input').each(
function(inputBox) {
inputBox.readOnly = true;
}
);
I wouldn't normally use DOM manipulation to make something read only as you should really go through ACLs, but this seems like a special case with that field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2014 07:19 AM
Hi Miles,
Here i did in demo check .
https://demo009.service-now.com/login.do
Uname and pwd : admin
Once you login create new incident you can see readonly time worked field.
Regards,
Harish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2014 07:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2014 07:27 AM
This link just redirects to the sandbox.