- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
First off, it looks like you created multiple subforms called 'Paragraph'. LC Designer keeps track of the various instances of these using a zero-based instance number Paragraph[1]. This is OK, but makes referencing objects more difficult, because LC has to resolve the node for the object.
So I would recommend that you name objects (subforms, fields, etc). So that you can easily reference them in script.
TopmostSubform is the name of the root node. This name indicates that you imported an existing Word document or PDF to start off the form. This is OK, but some of the normal LC functionality will not be available.
The DropDownList1 object is in the second instance of the Paragraph subform. Therefore if you button is on Page1, it will need to include the subform name in its script.
For example if you left the names as they currently are (several instance of the same name), the script would look like this:
xfa.resolveNode("TopmostSubform.Page1.Paragraph[1]").DropdownList1 ...But if you gave the subforms a unique name the script would be much easier, say 'myParagraph':
myParagraph.DropDownList1 ....
Hope that helps,
Niall
Views
Replies
Total Likes