Alright, trying the tutorial. I think I"m getting there, but maybe you
can tell me what I'm doing wrong: var ServiceCat =
{ Materials: [ ["-"], ["TEST1"], ["TEST2"], ["TEST3"],["TEST4"]],
Infrastructure: [ ["-"], ["TEST5"], ["TEST6"]], Communications: [ ["-"],
["TEST7"], ["TEST8"]], Human Resources:[ ["-"], ["TEST9"], ["TEST10"]]
}; function SetServiceEntries(){ Service.clearItems(); Service.rawValue
= null; var aService = ServiceCat[xfa.event.change]; if(aService
&& aService.length) { for(var i=0;i<aService.length;i++)
Service.addItem(aService[i][0],aService[i][1].toString());
}}
-
Materials Infrastructure
Communications Human Resources Example1.SetServiceEntries();
Hello