UI scripts

/Tag: UI scripts

Removing or Disabling Choice List Options

By | 2018-07-09T15:25:17-06:00 February 17th, 2010|Categories: Client scripts|Tags: , , , |

One common configuration task in ServiceNow is to disable (make read-only) or remove certain select options from a choice list of a particular choice field. By far, the most common scenario where I’ve seen this is when a customer wants to restrict access to some ‘Closed’ type of option in a choice list depending on the [...]

JavaScript Popup Boxes in ServiceNow

By | 2018-07-09T15:01:32-06:00 December 29th, 2009|Categories: Client scripts|Tags: , , , , |

Standard JavaScript provides 3 different types of popup boxes: Alert box, Confirm box, and Prompt box. Since Service-now.com supports standard JavaScript, these popup boxes can be used anywhere in the application where client-side JavaScript is supported. They will most commonly be used in an 'onSubmit' client script or a UI action with the 'Client' checkbox checked.