From 807f66292857e14fb7b2029d065853202c2287ec Mon Sep 17 00:00:00 2001 From: HackoDev1530 <92592691+HackoDev1530@users.noreply.github.com> Date: Fri, 10 Oct 2025 11:48:09 -0500 Subject: [PATCH 1/3] Create README.md --- .../Client Scripts/Apply Field Styles/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Client-Side Components/Client Scripts/Apply Field Styles/README.md diff --git a/Client-Side Components/Client Scripts/Apply Field Styles/README.md b/Client-Side Components/Client Scripts/Apply Field Styles/README.md new file mode 100644 index 0000000000..076424f0ed --- /dev/null +++ b/Client-Side Components/Client Scripts/Apply Field Styles/README.md @@ -0,0 +1 @@ +The script applies the field style to the columns in the list view. From 264004abf9200160f3e29759b6c0854ccee9190d Mon Sep 17 00:00:00 2001 From: HackoDev1530 <92592691+HackoDev1530@users.noreply.github.com> Date: Fri, 10 Oct 2025 11:58:18 -0500 Subject: [PATCH 2/3] Create applyFieldStyle.js --- .../Client Scripts/Apply Field Styles/applyFieldStyle.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Client-Side Components/Client Scripts/Apply Field Styles/applyFieldStyle.js diff --git a/Client-Side Components/Client Scripts/Apply Field Styles/applyFieldStyle.js b/Client-Side Components/Client Scripts/Apply Field Styles/applyFieldStyle.js new file mode 100644 index 0000000000..30a2bb06b7 --- /dev/null +++ b/Client-Side Components/Client Scripts/Apply Field Styles/applyFieldStyle.js @@ -0,0 +1,7 @@ +//Table: Problem +//UI Type: All +//Type: onLoad +function onLoad() { + var relInc = g_form.getControl('related_incidents'); + relInc.style.textAlign = 'center'; +} From 95013999dd5a5b72565e5a2da552f876140996b9 Mon Sep 17 00:00:00 2001 From: HackoDev1530 <92592691+HackoDev1530@users.noreply.github.com> Date: Fri, 10 Oct 2025 11:58:41 -0500 Subject: [PATCH 3/3] Update README.md --- .../Client Scripts/Apply Field Styles/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client-Side Components/Client Scripts/Apply Field Styles/README.md b/Client-Side Components/Client Scripts/Apply Field Styles/README.md index 076424f0ed..5b833e0e2d 100644 --- a/Client-Side Components/Client Scripts/Apply Field Styles/README.md +++ b/Client-Side Components/Client Scripts/Apply Field Styles/README.md @@ -1 +1 @@ -The script applies the field style to the columns in the list view. +The script applies the field style to the field in the form.