Let me start by saying, I pretty much taught myself Adobe LiveCycle using these forums. Thank you!!
The form I created in LC is very detailed for official record but the user needs a sheet of certain details to take with them out of the office. Most of the information they will need will come from repeating subforms. First the user answers a yes/no question. If the user answers yes, the boxes for information will pop up. I've listed below what I named the subforms and fields of one of the sections I need from the form on the summary sheet.
Original Information put in form:
Subform = SubjectSubform
Subform = SubjectHiddenContainer
Subform = SubjectDescription
TextField = SubjectLast
TextField = SubjectFirst
TextField = SubjectMI
DateField = SubjectDOB
Summary sheet to auto-populate:
Lastname, Firstname MI; 00/00/00
I know I can't global bind because the user of the form will most likely add more than one subject in the form.
Any help is greatly appreciated!
There a a few errors in the code you listed.
In the last line it has:
But earlier you listed the field as SubjectDOB
Also, xfa.resloveNode is incorrect. It should be xfa.resolveNode in all lines
I agree with MinusZero, just wanted to add you need the double quotes around the +i+, so it should be SubjectDescription["+i+"].SubjectLast ... for all similar cases.
It would be easier if we could see your form if you are still having trouble. Is it possible for you to upload it to a file sharing site and post a link here?
Designer does have a check syntax button in the script editor, which look like;
I retyped the equation into this question but I'll definitely recheck the equation in the form. I'll also add the quotes so it looks like ["+i+"] after the SubjectDescription to each statement and let you know how that goes. I will see if I can share the form if those don't seem to make it work. It's a work related form and is confidential but I'll see if it is something I can share to get help with.
Thank you so much,