Hello,
I'm sort of new to livecycle and I'm trying to have a form that references subform instances in a different page and I've tried for hours to resolve with no avail.
This is the code that I'm using:
lessee = "";
for (var i = 1 ; i < 7; i++) {
var lesseeno = Checklist.Fields.Lessees.resolveNode("spLessee[" + i.toString() + "]").Lessee;
var firstname = lesseeno.FirstName.rawValue !=null? lesseeno.FirstName.rawValue : "";
var middle = lesseeno.Middle.rawValue !=null? lesseeno.Middle.rawValue : "";
var lastname = lesseeno.LastName.rawValue !=null? lesseeno.LastName.rawValue !=null: "";
var busname = lesseeno.BusinessName.rawValue !=null? lesseeno.BusinessName.rawValue !=null: "";
lessee += firstname + " " +middle+" "+ lastname + ", " ;
}
this.resolveNode("$").rawValue = lessee
Can you let me know what I should change?
Thanks,
Camilo