The Drop Down List type is used for selecting one of the values. The set of values is configured in the variable settings.
The set of values is defined in a process or an object. If you need to use the same set of values in several objects or processes, we recommend that you use Enumerations. If you also need to be able to add or change the values of this set in Web Application, we recommend that you use an "Object" type property.
In Web Application, a Drop Down List field looks as shown in Fig. 1-3.
Fig. 1. Drop Down List field in Web Application (editing form). Standard display type
Fig. 2. Drop Down List field in Web Application (editing form). Horizontal radio group display type
Fig. 3. Drop Down List field in Web Application (editing form). Vertical radio group display type
Drop Down List type settings in ELMA Designer
When you select Drop Down List in the Type *field, additional fields appear on the Common and Advanced tabs apart from the basic fields.
Common tab
Fig. 4 shows the additional fields that appear if the Drop Down List type is selected on the Common tab.
Fig. 4 Common tab. Additional fields
List elements – enter the drop down list values. Each item should be in a separate line. Empty lines are ignored.
Select from list only – when this box is checked, you can select a value only from the drop down list. When the box is not checked, you can enter the required value in the field.
Display Mode – select how the list items will be displayed in Web Application. The following modes are available:
Standard – display the items as a drop down list;
Horizontal radio group – display the items as horizontally placed switches;
Vertical radio group – display the items as vertically placed switches.
Quantity – allows limiting the maximum quantity of displayed list items. The default value is 100. This field is displayed only if you select Horizontal radio group or Vertical radio group in the Display Mode field.
Default Value – select one of the List elements values as the default value. The selected value will be automatically added to this field in Web Application.