Enabling Multiple Selection

Browsers allow multiple items to be selected in a selection list. To enable this first use a scrollable list as described above (you cannot select multiple items from a drop-down list). Then add the following to the curam-config.xml file.

Figure 1. Enabling multiple selection in curam-config.xml
<MULTIPLE_SELECT>
  <DOMAIN NAME="MY_DOMAIN" MULTIPLE="true"/>
</MULTIPLE_SELECT>a

For each domain which you want to enable multiple selection add a DOMAIN child element to the MULTIPLE_SELECT element. If a FIELD has a target connection which is based on a domain listed in the MULTIPLE_SELECT element, multiple selection will be enabled. When the form containing the selection list is submitted, the selected values will be packaged into a tab-delimited string. Therefore the target property must be based on a string domain. The same way, the source property in this case is also expected in the form of a tab-separated string of values to be selected initially (the values should match some of those specified via HIDDEN_PROPERTY).