Select

The select component represents the HTML select control with its label. It is provided to select an option from a drop-down menu of options. The structure view below shows the initial select component as created by drag-and-drop from the toolbar with its symbol, its label, its properties, and its tooltip and message cells.

The overview to the select component

The properties cell's first entry is a flag:

Select Type

The Select type is specified in the context menu. The following types are available:

Custom

The select component of type "Custom" is provided to select an option from a custom drop-down menu in a select control in a HTML form.

The properties cell of the select component below shows the options menu's first, last, and selected (in parentheses) options.

The overview to the custom select component

A double-click on the properties cell opens the properties dialog that allows to change the options menu and to specify the initial option. A click on the "Change" button opens the options menu dialog, a multiline text editor, to type new options, to edit existing options, or to paste options from the system clipboard (ctrl-v).

The default initial option, …
The properties dialog of the custom select component
… the default options menu, …
The options menu of the initial custom select component
… the customized options menu, …
Changing the initial options menu
…the new initial option, …
The changed options menu of the custom select component

… and the updated properties cell (the initial option in parentheses).

The changed properties cell of the custom select component

The other initial option is "Empty-value option" which requires the user to select an option. The empty-value option given below is "Position applied for" which is rendered as the HTML select control's top option.

The empty-value option of the custom select component The Html view of the empty-value option select component

In the properties cell below, the empty-value option is displayed in square parentheses. Since input is required now, a missing input message is requested. The label is possibly obsolete now and could be removed.

Removing the label of a empty-value option select component

Day

The select component of type "Day" is provided to select a day-of-month from a drop-down menu of days in a select control in a HTML form.

The overview to the day select component

The properties are specified in the properties dialog below (opened by double-clicking the properties cell). The "Days" panel serves to specify the menu of days. The "Initial Day" panel tells which option is initially selected: "Auto" (the current day), "Selected" (one of the days), or "Empty-value option" which requires the user to select a day.

The properties dialog of the day select component
The "Days" panel is used to click (toggle) the days the user can select.
Specifying the days in the properties dialog of a day select component

Below is the day select component with the changed day options. The properties shown in the properties cell define a day range of 4 to 31 with the day-of-month 4 as the initial option (in parentheses). The shop is closed on the first 3 days of each month.

The day select component with changed options

Month

The select component of type "Month" is provided to select a month from a drop-down menu of months in a select control in a HTML form.

The overview to the month select component

The properties are specified in the properties dialog below (opened by double-clicking the properties cell). The "Months" panel serves to specify the menu of months. The "Initial month" panel tells which option is initially selected: "Auto" (the current month), "Selected" (one of the months), or "Empty-value option" which requires the user to select a month.

The properties dialog of the month select component
The "Months" panel is used to click (toggle) the months the user can select.
Specifying the months in the properties dialog of a month select component

The properties shown in the properties cell below provide the months from november to february for a seasonal job. The empty-value option "Month" (in square parentheses) replaced the label. The filled circle indicates that input is required.

Below is a month select component with a limited set of months for e.g. a seasonal job. The properties shown in the properties cell display the available months the user can select. The empty-value option "Month" (in square parentheses) replaced the label. The empty-value option makes input required (the filled circle) and therefor requests missing input.

The month select component with changed options

Year

The select component of type "Year" is provided to select a year from a drop-down menu of years in a select control in a HTML form.

The overview to the year select component

The properties are specified in the properties dialog below (opened by double-clicking the properties cell). The "Years" panel serves to specify the menu of years. The "Initial Year" panel tells which option is initially selected: "Auto" (the current year), "Selected" (one of the years), or "Empty-value option" which requires the user to select a year.

The properties dialog of the year select component
The purpose of the "Years" panel is to click (toggle) the years the user can select. Each row consists of a clickable decade (e.g. 203) and the clickable digits 0 to 9 for the decade's years. In the panel below, the years 1980 to 2030 are offered for selection.
Specifying the years in the properties dialog of a year select component

The properties shown in the properties cell below define a year range of 1980 to 2030 with the current year initially selected ("Auto") in the HTML select control (if the corresponding option exists).

The year select component with changed options