Dependent Dropdown List

This feature enables you to create two types of dependent dropdown lists:

·     A dropdown list that displays choices that depend on the value selected in a previous dropdown list.

In the following example, the value selected in the Wine Type list affect the values displayed in the Wine Name list. If the user chooses Red under Wine Type, the wine names will be filtered display red wines only.

·     A list that displays values filtered according to a fixed criterion. For example, the following list is filtered to display red wines only.

This topic explains how to create dependency dials. It is also possible to create this dependency for properties.

 

Example of filtering by a dial

The settings for Dependent Dropdown lists are similar to those of regular Dropdown Lists, however the Dependent Dropdown list includes an additional option of filtering.

This following procedure explains how to define a dependent dial filter using the Wine Type and Wine Name example.

1.       In the Dial Details page, in the Display Name text box, enter Wine Type.

2.       From the Input Control list, select Dependent Dropdown List.

3.       Select the Take values from Data Source checkbox.

4.       Enter data as follows:

      For Table or View, select the required table.

      For Display Text Field, select the value displayed to the viewer. For example, Color.

      For Value Field, select the returned value.

5.       Repeat steps 1-3 for the second dropdown list, Wine Name, and select settings as follows:

 Both Wine Type and Wine Name need to be defined as Dependent Dropdown Lists.

6.       Select the Filter checkbox, and define a filter by which the Wine Name list will display values that depend on the value selected in the Wine Type list.

Example of filtering by a fixed value   

Let's say you want to create two separate dropdown lists, one for Red Wine and one for White Wine.

You can define a filter to filter each list by a fixed value. This means that the first list will display red wine names only, and the second will display white wine names only.