File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Client-Side Components/Client Scripts/Change Label of Field Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ Dynamic Field Label Change in ServiceNow
2+ Overview
3+
4+ This script is created for the Incident table to change the Description field label when the Priority field value changes.
5+
6+ When the Priority is set to 1 (Critical), the Description label becomes
7+ “Describe the critical issue in detail” to help users give more clear information.
8+ For all other priorities, it goes back to “Description.”
9+
10+ Setup Steps:
11+
12+ Go to System Definition → Client Scripts → New
13+
14+ Fill in the following details:
15+
16+ Name: Change Description Label Based on Priority
17+
18+ Table: Incident
19+
20+ UI Type: All
21+
22+ Type: onChange
23+
24+ Field name: Priority
25+
26+ Notes
27+
28+ Works only on the Incident form when the Priority field is changed.
29+
30+ The label updates immediately without reloading the form.
31+
32+ You can change the label text to fit your own use case.
You can’t perform that action at this time.
0 commit comments