Hi everyone,
I am creating a form which is available in different languages. Therefore I created a radiobutton per language and on click of one of these buttons, I dynamiccally bind the XML fragment with an existing node (javascript code):
xfa.data.node.loadXML(xml, true, true)
This works, since I display the XML code in a seperate text field to check.
Afterwards I want to dynamically bind my text elements to the data. Therefore, I already created the bindings to the XML nodes that will be generated later (like xfa.data.node.tag1.tag2).
However, I never see the content of the nodes, not even if I create and bind the XML on the initialise event of the root element (so without choosing a language, but certainly before the bound elements are loaded).
I can see the text when I change the calculate event of a text field as follows.
xfa.data.node.tag1.tag2.value
I am able to access the XML nodes, but for one reason or the other the binding does not work.
Does anybody know how to fix this? All help would be greatly appreciated!
Kind regards,
Tim