If you want to add a combo box or radio buttons to a form, you must first create the
list that will populate the fields.
What you should know
There are two types of lists that can be created:
- A simple list is a list of single entries.
- A dictionary list uses keys and values. For example, if you wanted to use a combo box to
select a location where an incident occurred, your key would be a list of continents and
your values would be list of countries.
Procedure
-
From the Config
Tool home page, open the
Plugins task.
-
In the Plugins task, select the plugin role from the entity
browser, and click the Lists tab.
-
Under the Lists list, click the Add a list
() button.
-
In the Create a data source dialog box, do the following:
- Enter a name for the list.
- From the Type list, select Simple or
Dictionary.
- Click Add.
-
In the Data sources section, click the Add a data
source ()
button.
-
In the Create a data source dialog box, enter a name for the data
source and click Add.
NOTE: The values in a list can come from more than one data source.
-
In the Value section, click the New value
() button.
-
Do one of the following:
- If you are using a simple list, enter a value.
- If you are using a dictionary list, enter a key and a corresponding value
-
Click Apply.