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.

Catalog - change label when a selectbox value is selected

athavichith
Mega Sage

How would I change label of variable when a selectbox value of another field is selected? I tried using g_form.setDisplayOf but it didn't work. 

2 REPLIES 2

PoonkodiS
Tera Contributor

Hi athavichith,

In this Onload client script you use g_form.setLabel() instead of g_form.setDisplay()..This method will be work for your requirement.