Skip to main content
This element is useful where the options in one drop-down menu depend on the value in another menu. A typical scenario is the selection of fields in related extra tables.
If the drop-down menus are populated by values from different tables, the IDs will probably be the same in both tables. Therefore, the IDs of the nodes must have a prefix to insure that they are unique in all drop-downs.

Configuration

Setting selectFromTree = true turns on tree mode and printDownwards, labels.length, and labels.n.length are ignored.

Example

List-mode

Tree-mode

Creation script

Then you repeat the query and loop for each additional list. To complete the example with customer and email, you can use these queries:

Functions

getFieldValue(String field)

Returns all IDs of the resulting drop-down menus in a comma-separated string.

setFieldValue(String action, Map values)

toString()

Returns all IDs of the resulting drop-down menus in a comma-separated string.