ServiceNow Certified System Administrator — Question 313

A customer asks you to make the following updates to a form:

1. When Caller field is populated, automatically look up caller location and load it in the Location field.
2. Add notice at the top of the page when the record is submitted.

What type of script would you use to meet this requirement?

Answer options

Correct answer: D

Explanation

The correct answer is D, Client script, because it runs on the user's browser and can respond to user actions such as filling out fields and submitting forms. Options A and B refer to scripts that do not operate in the user's browser context, making them unsuitable for real-time field updates or notifications. Option C, while related to the programming language used, does not specify the context necessary for executing the required actions.