Thanx alot Niall that was very helpfull.here what I did :in Drop-Down List preOpen state this.rawValue = null;this.clearItems();if(xfa.resolveNode("department.#field").rawValue == 1){this.addItem("Introduction to programming");this.addItem("Algorithms");this.addItem("Data structures");}else if(xfa.r...