Avatar

Level 6

The event is set to "initialize" and this is javascript on the droplist object:

Assuming you have textfields named AC & GL.

var sNewSel = this.rawValue;

switch (sNewSel)

{

  case "Aboriginal Diabetes Initiative":

    xfa.form.form1.BodyPage1.AC.rawValue="KC01";

    xfa.form.form1.BodyPage1.GL.rawValue="76721";

    break;

}

Copy the script and add your other options between the brackets