Accessing form data via Javascript.
Hi,
I'm completely stuck. I have a form with a table with a row containing a textfields. I'm able to add rows to that table via JavaScript. No problem here. Now I want to populate a dropdown with the data entered into the textfield(s). And Here I'm completely stuck. I don't manage to find the instantiated rows with their Textfields.
The hierchy view shows form1>purchaseOrder>Table1>Row
I tried stuff like this:
'xfa.resolveNodes("xfa.form.form1.purchaseOrder.Table1.Row[0].TextField1").rawValue'
or
'xfa.form.form1.purchaseOrder.Table1.Row[0].TextField1'
to access the node or the field without succces.
Nor do I find the way to get a count of the instantiated rows, so I could loop through them.
Thanks in advance
(a desperate)
Steven
I'm completely stuck. I have a form with a table with a row containing a textfields. I'm able to add rows to that table via JavaScript. No problem here. Now I want to populate a dropdown with the data entered into the textfield(s). And Here I'm completely stuck. I don't manage to find the instantiated rows with their Textfields.
The hierchy view shows form1>purchaseOrder>Table1>Row
I tried stuff like this:
'xfa.resolveNodes("xfa.form.form1.purchaseOrder.Table1.Row[0].TextField1").rawValue'
or
'xfa.form.form1.purchaseOrder.Table1.Row[0].TextField1'
to access the node or the field without succces.
Nor do I find the way to get a count of the instantiated rows, so I could loop through them.
Thanks in advance
(a desperate)
Steven