Creating a multiple choice Question involves creating a Question element and configuring general settings, and then selecting the following settings using the Choices tab:

  • The source of the choices presented to the user.
  • The format in which the choices are presented to users.

Selecting Choice Source

When the question type is Multiple choices, either of the following sources can be used for your Choices:

  • Use Choices Elements: The choices displayed to the user are taken from Choice elements that are manually created by the designer of the Interaction.
  • Use Collection Values: The choices displayed to the user are the items of a collection (either simple or object). This source allows the choices to be dynamic.

The source of the Choices is specified by selecting the relevant radio button in the Choices Source frame of the Choices tab. The default selection is Use Choices Elements.

After selecting a source, configure the Choice elements by selecting parameters in the relevant frame.

  • If you selected Use Choice Elements, the Edit frame appears. This frame displays a list of the Choice elements in the Interaction that follow the Question, and enables you to configure the order in which the choices are displayed to users. The Edit frame is populated only after Choice elements have been defined and connected to the Question using Connectors.


    The order in which the choices are displayed in runtime can be set automatically or manually:
    • Automatic: From the Sort choices dropdown list, select Ascending or Descending, and then click Sort. The choices are sorted in the order selected.
    • Manual: From the list of choices, select the choice to be relocated. Then, use the up/down buttons on the right side of the Edit frame to move the choice to the desired position.
  • If you selected Use Collection Values, the Collection frame appears. This frame enables you to select the required collection, and to specify a variable to hold the Choice(s) that the user selects. Keep in mind that if you want the user to be able to select more than one choice, you need to assign the answer into a collection type variable.


    If you select an object collection, the Fields tab is enabled. This tab allows you to configure how the fields of each object in the collection are presented to the user. For more information about the Fields tab, refer to Displaying an Object Collection.

Selecting the Display Option

The Display Options frame allows you to select the format in which choices are presented to users. Available formats are:

  • Switch (relevant to Yes/No questions only)
  • Drop Down List
  • Radio Buttons
  • Click to Continue
  • Buttons Matrix
  • Checkboxes (multiple selection)

If the source of your choices is an object collection, and you want to display more than one field in the choice list, make sure to select the Checkboxes (multiple selection) display option. If you don't see this display option, go back to the Collection frame above and make sure that you have assigned the selected choices into a collection type variable.

Note: Currently when a Drop Down List display option is used, any images that are configured as part of the Choice elements are not displayed in runtime. It is therefore recommended not to select the Drop Down List display format when working with Choices containing images.

Advanced Display Options
Additional settings provided in the Display Options frame are described in the following table. These settings are relevant to only some of the displays (Drop Down List and Radio Buttons).

SettingDescription/Notes
Allow Auto Complete (Drop Down List) When this checkbox is selected, the ability of the end user to enter text in the list field is supported. As characters are typed in runtime, the list is filtered to display only the options that contain the entered text.
Default Selected (Drop Down List) When this radio button is selected, you can select the Choice that appears first in the list.
Place Holder (Drop Down List) When this radio button is selected, preconfigured text (in gray font) is displayed to users.
Clicking the Browse icon opens the Placeholder Value window, where you can create a dynamic text message by dragging and dropping predefined elements into the message.
Default Selected (Radio Buttons) When this checkbox is selected, you can specify a Choice whose radio button is selected by default in runtime.

Revision:

Comments