Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Dynamically Add to List Box (image included)

$
0
0

When I click the "Add Affiliation" button, I would like it to add the item number associated with that particular subform row added to the listbox below it. I calculate the item number from the index (the text field is called "txtCalcItemNumber").

Screenshot.png

 

This is what is in my click event for btnAddAffiliations:

 

Page1.Affiliations.Details.instanceManager.addInstance();

 

(i tried the code below to add items to listbox but doesn't work)

var values = xfa.resolveNode("Page1.Affiliations.Details[" + this.parent.index + "]").txtCalcItemNumber.rawValue;

ListBox1.addItem(values);

 

THANKS FOR YOUR HELP!!


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>