Hi,
I want to build a functionality in the form that on click on a checkbox I want to papulate items of an xml node(Panel1 or panel2 values from belwo xml) to subforms controls (textfield1 and textfield2).
And when i uncheck the checkbox, it should papulate values from different nodes to this subform.
<?xml version="1.0" encoding="UTF-8"?>
<form1>
<Panel1>
<TextField1>Ego ille1</TextField1>
<TextField2>Si manu vacuas1</TextField2>
</Panel1>
<Panel2>
<TextField1>Ego ille2</TextField1>
<TextField2>Si manu vacuas2</TextField2>
</Panel2>
</form1>
![binding xml to subform.JPG binding xml to subform.JPG](/t5/image/serverpage/image-id/3408i605CB0474CA26DA9/image-size/large?v=v2&px=999)
How do I write js script to load the xml node and assign to subform (panel1 or panel2).
Please let me knw if you need xdp and xml of this poc.
-
Sunil