Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Changing field color based on Null Variable

Walter Toney
Tera Expert

ok let me explain this better..

 

i have a Multi Line Text Field  "Field1"  and i am using that field to Turn the Color of the text and backgroud of another Date Field "Field2" if "Field1" is not NULL

 

I know i can do it with out code but our requirement is that we need "field1" not being null to turn it 

i have tried the following 

 

javascript:current.justification_for_urgent_request != "" ;

javascript:current.justification_for_urgent_request != '' ;

javascript:current.justification_for_urgent_request != null ;

javascript:current.justification_for_urgent_request != ;

 

but nothing seems to be working and i don't fully understand why... any thoughts

15 REPLIES 15

Just tried both and they did not work.. thanks though