- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
You thought process is correct buut your implementation is flawed. When trying to build an expre
ssion to represent the objects in the table you cannot use an instance like [i] as the expre
ssion will not get resolved before the command is executed hence the object will not exist. If you have a definiative instance like
[2] then it wil work fine. To get around this you can use the xfa.resolveNode syntax to pass a string that represents the object then it will be able to find it. So to access one of those objects the command woudl be:
xfa.resolveNode("SubformPropCoverages.SubformInlandMarine[" + i " ].SubformRVDesc.TableRVDetails.RowRVD etails[" + j + "]").TxtYear.rawValue
Also note that the * will not work in javascript. You will have to get a length then put it in a for loop to get all instances.
Hope that helps
Paul
Views
Replies
Total Likes