Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

How to create a 3 or more level Popup menu

$
0
0

Hello,

I know how to create a 2-level menu for somehting like:

 

Fruits>Apple

          Banana

          Oranges

 

var choice = app.popUpMenuEx(

     {cName:"Fruits",

      oSubMenu: [ {cName:"Apple", cReturn:"Apple" }, {cName:"Banana", cReturn:"Banana" }, {cName:"Melon", cReturn:"Melon" } ]},

 

 

But what would the code look like for something like (3 level):

 

Fruits>Apple

          Banana

          Oranges>Navel

                        Valencia

                        Moro (Blood)

 

 

or even something like this (4-levels):

 

Location A......>Site A......>Properties...>Property1

                                                            Property2

                                                            Property3

                        Site B>

                        Site C>

Location B>

Location C>

 

So overall, how would the above script for a 2-level popup menu be modified for a 3, 4, or more level popup menu?


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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