logo

NJP

Modifying the Label of Form Fields With Client Scripts

Import · Oct 10, 2011 · article

This post comes in response to a question on the ServiceNow forums asking if it is possible to change the label of a field dynamically based on some record criteria (such as record type). I've just written a function that makes it very simple to change a field label's text, color and font weight. See the full details at SNCGuru.

Dynamic Field Label

http://www.servicenowguru.com/system-ui/ui-scripts-system-ui/modifying-label-form-fields-client-scripts/

View original source

https://www.servicenow.com/community/in-other-news/modifying-the-label-of-form-fields-with-client-scripts/ba-p/2282890