Skip to content

Commit 090641d

Browse files
authored
Merge pull request #1 from sumanth1710/sumanth1710-patch-1
Create Add Field Decorations On Incident Adds visual decorations (icons and colors) to key fields on the Incident form to enhance user visibility and form usability. Specifically: Adds a blue star icon to the Caller field to highlight important contact information. Adds a yellow lightbulb icon to the Category field to indicate classification details. This onLoad client script improves UI clarity and user experience when viewing or editing incidents.
2 parents 9a8fe4f + c52b9cc commit 090641d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//Add Field Decorations On Incident
2+
function onLoad() {
3+
//Type appropriate comment here, and begin script below
4+
g_form.addDecoration('caller_id', 'icon-star', 'Mark as Favorite', 'color-blue');
5+
g_form.addDecoration('category' , 'icon-lightbulb' , 'icon-lightbulb' , 'color-yellow');
6+
7+
}

0 commit comments

Comments
 (0)