Along with the <MultiSelect> component, the <Select> component provides a list of items to select from. With longer lists of values to select from, the radio buttons can begin to take up precious space on a form. Alternatively, select lists can provide a way for the user to select from a long list of possible values. This list supports type-ahead if the list is ordered. You can use the allowedValues property to specify the choices from which the user can pick.
<Field name=’global.title’> <Display class=’Select’> <Property name=’title’ value=’Title’/> <Property name=’allowedValues’> <List> <String>Staff</String> <String>Manager</String> <String>Director</String> <String>VP</String> </List> </Property> </Display> </Field> |