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..5b833e0e2d --- /dev/null +++ b/Client-Side Components/Client Scripts/Apply Field Styles/README.md @@ -0,0 +1 @@ +The script applies the field style to the field in the form. 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'; +}