| |
Dropdown List BoxUsage | Design-relevant Attributes | Related Controls
UsageUse dropdown list boxes:
Note: The dropdown list box control does not render a descriptive label automatically. Use the label control to add a description. The following table shows examples for the usage described above:
Table 1: Usage examples for the dropdown list box Choosing the Appropriate Selection ControlA dropdown list box is similar in function to a list box - both offer a list of items where users can select one item from, that is, both are single-selection lists. See Forms - Using Different List Types for guidelines on choosing the appropriate selection control. Note: For very small item numbers (2-6) and if the users should immediately see all alternatives, use radio buttons for single-selection choices.
Design-relevant AttributesThe dropdown list box can be set to an enabled or disabled state. Set attribute disabled to FALSE to enable a checkbox, set disabled to TRUE to disable it. To see an example of an enabled dropdown list box, click here. A disabled dropdown list box is not clickable, no item is selectable.
The dropdown list box does not have a width attribute. Note, that this control takes the width from the widest list box item.
Usage - Disabled StateSet the disabled state if the user is not allowed to change the value of a dropdown list box or if a larger group of input elements including a dropdown list box is disabled. Example: A set of fields including a dropdown list box is disabled because the user unchecked an option (see figure 4).
Related ControlsInput Field, Item List, Label, List Box, Radio Button, Tree View |
||||||||||||||||