Use an option selection element
An option selection element can only be added to an authoring template. We create a predefined set of values for content creators to select from when creating a content item or site area.
- Open or create an authoring template.
- Click Manage Elements .
- Select Option Selection as the element type.
- Enter a name. Do not use double-byte and non-ASCII characters.
- Enter a display title to use as the title of the element displayed indexes and forms.
- If we have created a text provider plug-in for a multi-locale site, we can also select the text provider and enter a key to look up a string from the selected text provider. The text provider displays a different display title for each language it has been configured for. The text entered in the Display Title field is only used if an appropriate display title is not available from the selected text provider, or if the text provider is not available.
- Click OK. The option selection element is added to the form.
- Go to the Default Content tab.
- Go to the option selection element created.
- To display the element as a required field select Identify this as a required field.
- To hide a field on the content form from all users select Hide field. Specify a default value if the field is a required field.
Administrators and managers can choose to display hidden fields and elements in an item by clicking Show hidden fields.
- Select whether to allow content creators to be able to select multiple options, or just a single option. If we are using multiple select, we can also specify the minimum and maximum selections a content creator can make.
- Select an option type:
- Select Use Taxonomy to select categories from a taxonomy.
- Select All available categories if we want the content creators to be able to select any category.
- Select Selected Categories Only to specify which categories will appear in the option selection element. The categories we select and any of their children will be available for selection by content creators. We then select whether to display the category title only, or the title and path under the setting Display category selection option as.
- Select Include selected categories in the item's profile if we want the categories selected by a user to be added to the item's profile.
Some options will allow users to select a taxonomy in the option selection element. Although a user can select a taxonomy, the selected taxonomy will not be added to the item profile. Only categories directly selected by users will be added to the item profile.
- Select User Defined to define a set of options. Type the options in the user defined field, one on each line, in exactly the order we want them to appear on the content form.
- The options can be displayed as either radio buttons, a drop-down list or a paged table. We can also select to "automatically select the most appropriate option". If there are five options or less, radio buttons are used. If there are more then five, but less than twenty-one, a dropdown list is used. If there are more than twenty options, a paged table is used.
- Select the users or groups to grant edit access to a field or element by clicking Add Editors.
- Select the users or groups to grant view access to a field or element by clicking Add Viewers.
- Type field specific help into Field help text. This displays the element in the content form.
If we have created a text provider plug-in for a multi-locale site, we can also select the text provider and enter a key to look up a string from the selected text provider. The text provider displays a different help text for each language it has been configured for. The text entered in the Field help field will then only be used if an appropriate help text is not available from the selected text provider, or if the text provider is not available.
- Save the authoring template.
Parent Use elements