I have a drop down list that is populated by OLEDB data connection, how do I populate a text field based on that drop down? There is an example for LC V8.1 called "Purchase Order" but that example the drop down field is hard coded.
Any help is greatly apprieciated.
myField.rawValue = xfa.event.newText;
If you want the value associated with the text that was selected, you can use the boundItem method:
myField.rawValue = this.boundItem(xfa.event.newText);
If your list items have text and value data, the above statement will assign the value data (associated with the selected text data) to the text field.
Stefan Cameron obtained his bachelor's degree with Honors in Computer Science at the University of Ottawa and is a Computer Scientist working on Adobe's LiveCycle server products, in particular on LiveCycle Designer ES for the past 5 years.