We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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.