A Multiple Selection question is a multiple choice question that lets customers select one or more answers from a list of choices.

You build a Multiple Selection list from one of the following types:

  • Regular choices: These choices are hard coded and are created manually.
  • Dynamic choices: The choice list is populated in runtime with the values contained in a specified collection

Building the Multiple Selection List from Regular Choices

To create a Multiple Selection question from a Regular choice, use the Choice element and select the Multiple Selection format from the Display drop down list:

Building the Multiple Selection List from Dynamic Choices

You can create a Multiple Selection question from either a simple collection or an object collection.

Note: When you use the Dynamic Choice type, you will not see actual values displayed on the Page Editor as you create the question. Instead, a placeholder of <value> is shown in the fields where values will be displayed in runtime.

To create a Multiple Selection question from a simple collection:

Building choices from a simple collection involves selecting the collection that populates the choice list, and specifying a variable to hold the customer's answer. Use the following procedure to build this question type end-to-end.

  1. From the left side of the Page Editor, select the Multiple Selection choice element, and drag the element to the Page map. On the right side of the Page Editor, the Element tab opens.



  2. In the Label field of the Element tab, enter the text of the question.
  3. Click in the Dynamic choices field and select the required simple collection. 
  4. From the Saved selection dropdown, select the variable that will hold the question's answer. 



    Note: Only variables whose types match the collection type selected are displayed. If no variables are displayed, you may create a new variable that is appropriate.
  5. Configure validation and security settings. If relevant, select the Required Field checkbox and/or the Do not audit the question's answer checkbox. For more information, refer to Choice Question Design: Basic Workflow.
  6. The Show/Hide Rule field enables you to show or hide the choice question during runtime if a specified Rule condition is met. (A choice question is always displayed by default.) To add a Show/Hide rule, click on the plus icon and enter the condition to meet using the Rule Editor that appears:



    After adding the condition, select Show or Hide from the dropdown menu at the lower right to set the question's display status. To delete a Rule, click on Delete rule at the top right corner of the Rule Editor.

    For more details and an example, click here.
  7. The HTML Reference ID field stores the choice response in order to make it available for use outside of Interact, for example in CSS or application extensions. A unique name is automatically assigned to this field by default, but you can assign a more descriptive name to make it easier to identify.
  8. To save your changes, at the lower right corner of the Page Editor, click Update Page (or Create Page).
    The Page Editor closes, and the Interaction Map is displayed.

To create a Multiple Selection question from an object collection:

Building choices from an object collection involves selecting the collection that populates the choice list and specifying a variable to hold the customer's answer. You can select which fields of the collection the customer sees, as well as the order in which these fields are displayed.

Use the following procedure to build this question type end-to-end.

  1. From the left side of the Page Editor, select the Multiple Selection choice element, and drag the element to the Page map. On the right side of the Page Editor, the Element tab opens.



  2. In the Label field of the Element tab, enter the text of the question.
  3. Click in the Dynamic choices field and select the required object collection. 
    The fields of the selected collection are listed below the Choices settings.


     
  4. From the Saved selection dropdown, select the variable that will hold the question's answer. 
    Note: Only variables whose types match the collection type selected are displayed. If no variables are displayed, you may create a new variable that is appropriate.
  5. Specify the fields to be shown in the choice list:
    In the Show column, clear the checkboxes of the fields that should be hidden. For example:



  6. Designate the order in which the selected fields will be displayed: In the fields list, drag and drop the rows of the selected fields into the desired order.

  7. Design the display of the field names and values:

    • At the right side of the row of the field you want to edit, click the Edit icon.
      The editing popup opens.

    • In the Header field, enter a friendly name for the field. This name will be displayed in the choices list on the Interaction page.
    • If desired, set the alignment of the field's value by selecting the Left (default), Center or Right radio button.



  8. Configure validation and security settings. If relevant, select the Required Field checkbox and/or the Do not audit the question's answer checkbox. For more information, refer to Choice Question Design: Basic Workflow.
  9. The HTML Reference ID field stores the choice response in order to make it available for use outside of Interact, for example in CSS or application extensions. A unique name is automatically assigned to this field by default, but you can assign a more descriptive name to make it easier to identify.
  10. To save your changes, at the lower right corner of the Page Editor, click Update Page (or Create Page).
    The Page Editor closes, and the Interaction Map is displayed.

Multiple Selection: What Do Customers See?

The figure below shows examples of how the questions designed above are displayed in runtime. Customers can select one or more checkboxes. 

 

Revision:

Comments