Okay folks, I got this to populate from a drop-down to a drop-down, but I want it to work from a drop-down selection to a text field.
Here is what I have (directly from the HELP menu in LiveCycle) and it works fine:
var tempString = "xfa.record." + this.boundItem(xfa.event.newText);
var oItems = xfa.resolveNode(tempString);
var nItemsLength = oItems.nodes.length;
DropDownList2.clearItems();
for (var nItemCount = 0; nItemCount < nItemsLength; nItemCount++) {
DropDownList2.addItem(oItems.nodes.item(nItemCount).value);
}
Now is there any way instead of populating a second drop-down filed I can have it populate a simple text field?
This would save me SOOOOO much work!