I need the same value for a global function, thanks for your input Paul, BUT how can I access the values in that form according to the passed index.
I mean how to access the form.Page1.subform.custname.rawValue ...??
How to put the index as parameter to that line ...
The index will be on the repeating element ....in this case the subform. So the expression will be:
But the index is usually a variable value derived from some other expression and the var will not be resolved in this format. So we can use the xfa.resolveNode("string") format to derive our expression. So if th eindex was contained in a var called j the syntax woudl be:
xfa.resolveNode("form.Page1.subform[" + j + "].custname").rawValue
Thanks for your reply,
Actualy I figure out another way to complish my task by passing the row object to the function and it works fine.