Answered
Hi,
I've added some instances of a subform in my form.
Now I want to change the elements of some specific instances.
I tried this JavaScript-code:
Form.List[count].textfield1.rawValue = "text"
where count is the actual number of instances -1
That code does nothing, my form crashes when I arrive that code.
Whats wrong with my code?
Any Ideas?
EX:
Form.resolveNode("List[" + count.toString() + "].textfield1").rawValue = "text";
Or you could do it in FormCalc:
Form.List[count].textField1 = "text";
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script