on 11-09-2009 2:05 PM
Hi,
I want to read a value from the adobe table using javascript or formcalc.
Please let me know the syntax to do that.
Thanks,
Aravind
hi,
do you want to access data of the hierarchy or the data node? Witch language (javascript? Formcalc?) should be used or do you have no preferences?
perhaps if you give an example of the data node and how it is bound to the hierarchy its easier...
norbert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aravind, I agree to Radeep, use xfa.resolveNodes and then loop aver the table. If you know the table index you can drop the loop.
var TestNodesLen = xfa.resolveNodes("data.<path>TESTTYPE.DATA[*]").length; //for accessing via hierarchy
replace <path> by the structure of hierarchy node
var TestNodesLen = xfa.resolveNodes("xfa.record.TESTTYPE.DATA[*]").length; //for accessing via hierarchy
xfa.resolveNode("xfa.record.TESTTYPE.DATA["+ i +"].FIELD").rawValue // i is the index
br
Norbert
Edited by: Norbert Prager on Nov 10, 2009 9:07 AM
Edited by: Norbert Prager on Nov 10, 2009 9:10 AM
I guess the question has been answered? Have you achieved what you needed? Please close the thread then. Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.