Add data to a dropdown list
Create a list of items to use for populating a dropdown list at runtime.
For example, in a form obtaining customer details, provide a dropdown list of titles with the options such as, Mr., Ms., Mrs., or Other.
- In the properties panel of the Dropdown list control, click the Configuration tab.
-
Define static items or use data from an existing lookup to populate the dropdown. Select either option for
Type.
Static
-
In the Prompt box, enter a value, such as "Please select". This value appears by default on the dropdown list at runtime.
-
Click .
-
Enter a Name and Value for the item.
-
Click Add. The item is added to the list.
-
To make the item as default on the list of items, select the Default check box for the item.
This item populates the field by default at runtime. For example, for a Title list, add the static items, such as Mr., Mrs., and Miss, and select Mrs. as the default.
-
To rearrange the list, use . By default, the list appears in the order in which the items are defined.
Lookups On the Lookup list, select a lookup. See Manage lookups for more information. Alternatively, you can map an array to a Dropdown list control on a form. The array is populated using a .NET action, Web service action, or Same page action. The first column of the array is used for the text displayed in the dropdown, while the second column holds the corresponding values.
Note: The data model variables are not supported.
-
- Save the form.