Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all articles
Browse latest Browse all 1237

Fill Drop down list in SFP

$
0
0

Hello,

 

I'm creating a custom interactive form with SFP transaction.

 

I need to insert drop down list into my form. So for this I inserted some javascript code:

 

var oItems = xfa.resolveNode("xfa.record.DDOWN");

 

var nItemsLength = oItems.nodes.length;

 

for (var nItemCount = 0; nItemCount < nItemsLength; nItemCount++)

{

DD_OBJECT.addItem(oItems.nodes.item(nItemCount).DATA.TEXT.value,oItems.nodes.item(nItemCount).DATA.ID.value);

}


DDOWN corresponding to my internal table which contains TEXT and ID fields

DD_OBJECT corresponding to my dropdown form object

 

I check in debugg mode that my DDOWN table is not empty.

 

--> In my result form, the dropdown is not filled, and I cannot push the list button.

 

Do you have an idea ?

 

Thanks in advance !

David


Viewing all articles
Browse latest Browse all 1237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>