Using an option selection element | HCL Digital Experience
An option selection element can be added only to an authoring template. You create a predefined set of values for content creators to select from when you create a content item or site area.
Procedure
- 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 you create a text provider plug-in for a multi-locale site, you 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 is configured for. The text that is 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 your form.
- Go to the Default Content tab.
- Go to the option selection element you 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. You must specify a default value if the field is
a required field.Note: 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 you are using multiple select, you can also specify the minimum and maximum selections a content creator can make.
- Select an option type:
- The options can be displayed as either radio buttons, a drop-down list or a paged table. You 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 than 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 you want to grant exclusive edit access to a field or element by clicking Add Editors.
- Select the users or groups you want to grant exclusive view access to a field or element by clicking Add Viewers.
- Type field-specific help into Field help.
This text displays near the element in the content form.
If you create a text provider plug-in for a multi-locale site, you 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 is configured for. The text that is entered in the Field help field is used only 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.