Having multiple repeating SubForms binding to the same data node : In our documents, many times we need to display information from same table in multiple locations. For example, if document displays information of Insureds on one page and information of drivers on another page, we need to create a LiveCycle document with two SubForms. Each SubForm needs to have a repeating binding to CommonInsured element in XSD. LiveCycle Designer is not able to handle such case. We cannot have two subforms bound to the same node, ONLY in a case where repeating option is selected for data binding.
//Get the data node from XML. You will find the code for this function in //JavaHelperFunctions library.
// InsuredDataRepeatingSubForm is a second subform.
//You need to manually add instances to this subform at the
//runtime and Insured data to each instance.
var insuArray = JavaHelperFunctions.getInsureds();
for( i=0; i<insuArray.length; i++)
var thesubform = this.InsuredDataRepeatingSubForm.instanceManager.addInstance(i);
I answered a similar question a while back. It's safe to ignore everything and just look at the answer Most of it was just me trying to work out what exactly the OP was asking for. Let me know if the linked answer spawns any questions.