Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

XML Drop-down to populate "Text Field" from same XML data

Avatar

Former Community Member
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!
0 Replies