Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Livecycle 9, dropdownmenu autopopulate

Avatar

Level 2

I have a form that has a dropdownmenu that is populated with javascript:

var ProductArray = new Array (       "Product 1 | 123345 | 1 | 2 | 3.45", "Product 2 | 123345 | 1 | 2 | 2.45", "Product 3 | 123345 | 1 | 2 | 1.0"                                                                                 );                                           function PopulateProductDropdown (ddlList) {       var numProducts = ProductArray.length;       for ( var cnt = 0; cnt < numProducts; cnt++ )           {           ddlList.addItem(ProductArray[cnt]);           } }

But the problem is that it doesn't show all the products, just after 150 it stops showing the products, question is that is there a limit to the dropdownmenu items?

Help much appreciated, thanx

1 Reply