- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
The form that you are using does not support Dynamic content on the form. This is because the form was a document to PDF form. In that scenario, LiveCycle treats the form as an Image and allows to be saved only Static PDF form.
The population of the dropdown from the XML with the properties needs dynamic binding which can not be done with your form.
You have two options.
1) Re develop the form in LiveCycle Designer so it can be saved as Dynamic PDF and will enable the dynamic bidnings for you.
2) Write code manually to load the dropdowns from XML data.
Place the following code in the initialize event of the dropdown to get it populated.
var oSubform = xfa.resolveNodes("$record.maslul[*]");
for(i=0;i<oSubform.length;i++){
var oNode = xfa.resolveNode("$record.maslul[" + i + "]");
maslul_name.addItem(oNode.maslul_name.value,oNode.maslul_num.value);
}
Thanks
Srini
Views
Replies
Total Likes