Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Cascading Drop-down problem

$
0
0

Dear All,

 

I hope that somebody would be able to assist me.

 

I am very new to any type of script writing.

 

I have a drop-down list (cboProgramme) that currently has two items in it.  I have a dynamic table (ModulesComplted) with 3 columns (Module, Result & Add). In the body of the table under module i have drop-down list(cboModule).The idea is that the Programme drop-down will populate the modules.  The script that I use is on exit" of cboProgramme is :

 

cboModule.clearItems();

switch (this.rawValue){

case "1":

  cboModule.addItem("Brand Management 3 (HBRD 3)");

  cboModule.addItem("Business Management 3 (HBMN 3)");

break;

case "2":

  cboModule.addItem("Applied Psychology 1 (HAPS1)");

  cboModule.addItem("Care and Support for the Affected and Infected 1 (HHACS1)");

break;

}

 

When I was testing and I had the two drop-down boxes in an blank form it worked fine. Where have I gone wrong?

 

Thanks


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>