Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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
Giga Sage

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.