Avatar

Level 1

Paul,

Thanks for your response, forgive me for being a noob here.

After a little googling, are you suggesting i use xfa.event.change in place of the xfa.event.newText? If so, I just tried that and no go, the second list still does not change at all.

My new code after your suggestion:

DescriptionList.clearItems();

var sNewSel = this.boundItem(xfa.event.change);

switch (sNewSel)

{

  case "Assay 1":

    DescriptionList.addItem("BCBS")

    DescriptionList.addItem("Aetna")

    DescriptionList.addItem("Cigna")

    DescriptionList.addItem("UHC")

    break;

  case "Assay 2":

    DescriptionList.addItem("BCBS")

    DescriptionList.addItem("Aetna")

    DescriptionList.addItem("Cigna")

    DescriptionList.addItem("UHC")

    break;

  case "Assay 3":

    DescriptionList.addItem("BCBS")

    DescriptionList.addItem("Aetna")

    DescriptionList.addItem("Cigna")

    DescriptionList.addItem("UHC")

    break;

  default:

    break;

}