Skip to main content

Developing an Application

 

OutSystems

Choose One Value from a List

You can allow end-users to choose a value from a list of values using a Dropdown widget (in mobile) or a Combo Box widget (in web).

In mobile

To choose one value from a list in a mobile app:

  1. Drag the Dropdown widget from the widgets toolbox.
  2. Set the List property to the list of values to display in the Dropdown.
  3. Set the Values property to the attribute that identifies the displayed values.
  4. Set the Variable property to the variable that will hold the chosen value.
  5. Set the expression inside the Dropdown to the value to display.

In web

To choose one value from a list in a web application:

  1. Drag and drop the Combo Box from the widgets toolbox.
  2. Set the Source Entity property to the entity with the values to display in the Combo Box.
  3. Set the Source Attribute property to the attribute to display from the entity.
  4. Set the Variable property to the variable that will hold the entity identifier corresponding to the chosen value.

Note: Combo Box widgets support several other ways of adding values to the list.