From c52b9ccc949a37d9f59b469096fb47aff97bea7a Mon Sep 17 00:00:00 2001 From: SUMANTH GOLLA <113332783+sumanth1710@users.noreply.github.com> Date: Mon, 6 Oct 2025 13:39:41 +0530 Subject: [PATCH] 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. --- .../Client Scripts/Add Field Decorations On Incident | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Client-Side Components/Client Scripts/Add Field Decorations On Incident diff --git a/Client-Side Components/Client Scripts/Add Field Decorations On Incident b/Client-Side Components/Client Scripts/Add Field Decorations On Incident new file mode 100644 index 0000000000..47fe5fd3af --- /dev/null +++ b/Client-Side Components/Client Scripts/Add Field Decorations On Incident @@ -0,0 +1,7 @@ +//Add Field Decorations On Incident +function onLoad() { + //Type appropriate comment here, and begin script below + g_form.addDecoration('caller_id', 'icon-star', 'Mark as Favorite', 'color-blue'); +g_form.addDecoration('category' , 'icon-lightbulb' , 'icon-lightbulb' , 'color-yellow'); + +}