In your web screens you can present a list of possible values and the end-user can select only one of the values presented. This behavior is implemented by the Combo Box widget.

Handling the end-user choice

The value selected by the user is stored in a variable pointed to by either the  Variable or Special Variable property of this widget, based on the situations described below.

The list of possible values corresponds to an attribute of an entity, an attribute of a structure or generic values. In fact, the possible values presented to the user can be obtained in different ways:

Setting the default value

To have a value pre-selected in the list when the widget is rendered, i.e., a default value, use the Variable or Special Variable properties. For that, simply set the value you want to be the default value in the Variable or Special Variable property (depending on the list where the value is) before the widget is rendered.

If you set the default value in both the Variable and Special Variable properties the latter is ignored, that is, the default value is the one you have set in the Variable property.

The validation of inputs in IE7 does not render the red border around mandatory combo boxes.

See Also

Layout of Web Widgets | Combo Box Widget Properties | Combo Box Widget Runtime Properties | Apply Web Styles | Replacing Combo Boxes by Auto-completes | About Rich Web Screens using Ajax