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

How to add more dependent values to one choice field?

brahmateja
Kilo Contributor

How to add more dependent values to one choice field?

6 REPLIES 6

Can you send any sample script Thanks.

Hi,

Please find the below script.

Type : OnChange of Category

var cat = g_form.getValue('category');

if(cat == "option1")

{

g_form.setValue('subcategory',"xyz");

}

if(cat == "option2")

{

g_form.setValue('subcategory',"abc");

}

Please make it as correct if it helps yout.