Hi again!<br /><br />I found it out myself. Since the second parameter had to be a string I converted the number of the counter to a string.<br /><br /><i><br />//Clear the existing values in the dropdownlist<br />DropDownList2.clearItems();<br />DropDownList2.rawValue ="";<br />//Add the new ones with an indexed boundItem <br />var myIndex = this.boundItem(xfa.event.change);<br />var cities = new Array(<br /> new Array("New Orleans", "NYC", "L.A."),<br /> new Array("Paris", "Lyon", "Marcheilles"), <br /> new Array("London", "Liverpool", "Newcastle", "Manchester"), <br /> new Array("Tokyo", "Kyoto", "Hiroshima"), <br /> new Array("Bremen", "Hannover", "Hamburg", "Berlin"));<br />for (i=0;i<cities[myIndex].length;i++){<br /> DropDownList2.addItem(cities[myIndex][i] , String(i));<br /> }<br /></i><br /><br />Thanks for your interests,<br />Håkon