Software Manager 1165 days ago
Thom,I was not able to post my script in my origional post, but here it is.
var a = xfa.resolveNode("form1.page1.tblDefendant.Table1.Row1[" + this.parent.index + "]").txtDefendant.rawValue;
xfa.resolveNode("form1.sfsDefendants.page3[" + this.parent.index + "]").txtDefendant.rawValue = a;
xfa.resolveNode("form1.sfsDefendants.page4[" + this.parent.index + "]").txtDefendant.rawValue = a;
xfa.resolveNode("form1.sfsDefendants.page5.affidavit_header[" + this.parent.index + "]").txtDefendant.rawValue = a;
xfa.resolveNode("form1.sfsDefendants.page5.affidavit_trailer[" + this.parent.index + "]").txtDefendant.rawValue = a;As you mentioned I should use the resolveNode command, which I am. When I enter data in the textbox on page1, it populates out to all of the page3 and page4 instances, but only to the first instance of page5. I will also review the website you posted for a reference.Thanks,Steve
I played around some more with the code andfound that the following code worked.
xfa.resolveNode("form1.sfsDefendants.page3["+this.parent.index + "]").txtDefendant.rawValue = a;
xfa.resolveNode("form1.sfsDefendants.page4["+this.parent.index + "]").txtDefendant.rawValue = a;
xfa.resolveNode("form1.sfsDefendants.page5["+this.parent.index + "]").affidavit_header.txtDefendant.rawValue = a;
xfa.resolveNode("form1.sfsDefendants.page5["+ this.parent.index + "]").affidavit_trailer.txtDefendant.rawValue = a;
Get started withAcrobat DC
Start free trial
Everything you need to get started using the all-new Acrobat DC.
Learn more >
Last 30 Days