Multiple Choice - Question Type
Multiple choice questions allow end users to choose between a fixed number of options.
By default, when you drag a Multiple Choice Question into your form you will get a pop-up called Choices. Please drag and drop a Multiple Choice Question into your project at the left panel.
This gives the ability to add the first 5 items in the Multiple-choice box immediately.
Multiple Choice Types
The possible answers for Multiple Choice Questions can be:
•Single Answer##
Users can see all options, but only select one. Single Answer options can be represented by options lists, drop-down list, likert scale, and toggle buttons.
Options List###
This option can be displayed vertical, horizontal or in columns
Vertical####
Horizontal####
Columns####
Drop-Down List###
Likert Scale###
Toggle Buttons###
•Multiple Answers:##
Users can see all options and select multiple. Multiple select options are represented by check list boxes or toggle buttons.
Check List Boxes###
This option can be done Vertical, Horizontal, or in columns
Vertical####
Horizontal####
Columns####
Toggle Buttons###
Properties
Check the complete list of properties in the table below.
Property | Description |
---|---|
Question Text | The text to display in Produce for the set of multiple choice answers |
Text Position | The options are: Top Left *(None) |
Mandatory | Checking this box will make the question mandatory. This is unchecked by default. |
Selection Type | Used to choose between a single answer question or a multiple answer question. |
Display Type | Chooses how the multiple choice question will be displayed: Option List Drop-down List Likert Scale Toggle Button |
Display Direction | Choose from: Vertical Horizontal 2 Column 3 Column *4 Column |
Help Text | This allows you to create text explaining what information is requested in the question. |
Comments | Checking this box allows comments to be added. This box is unchecked by default. |
Style | This allows you to change the background style of the answers to one of the following options: Alert (Error) Alert (Info) Alert (Success) Alert (Warning) Jumbotron Label (Default) Label (Error) Label (Info) Label (Primary) Label (Success) Label (Warning) Well |
Multiple Choice as Decision Points
Multiple choice questions have many uses. As part of a question set, they represent a decision point, and are often the parent to additional questions.
In the generated document, Multiple choice questions can remove irrelevant content or insert relevant content from the Content Library, based on the user’s decision.
When defining a Multiple choice question, each answer added becomes an available option for the user to select. Each answer also has an associated Hide Value property, which dictates whether selecting the option makes its associated content relevant or irrelevant.
Example of a New Question added from previous question answer selected: If Pizza is selected a new Question will be displayed 'Are you Vegetarian?
Display Message
Check applied Conditions on the right panel
Add as many conditions as you may need, throughout the form
Another Example:
When using a multiple choice question the options that are displayed can be hidden based on other selections or values in the question set.
To achieve this, set conditions for the Answer by selecting the answer and then navigating to the Conditions Tab. The process is essentially the same as setting conditions for a question.
Document Preparation and Placeholders
Selection placeholders are used to surround the content to be potentially removed if it’s not needed. In the example below, a bookmark surrounds each of the possible membership options. All but one of these will be removed in the generated document.
The example below shows a placeholder surrounding a block of content within the document that’s to be removed if it’s not needed based on a decision in a Multiple choice question.
Alternatively, if you are using the multiple choice question to insert a Content Library item, place an insertion or selection placeholder where the item is to appear in the document when the particular selection is made.
From the Placeholders tab, drag and drop the necessary placeholders containing the content associated with the answer.
Insert Content Library with Multiple Choice Questions
Often a Content Library item will need to be inserted depending on which answer is selected within a multiple choice question.
STEP 1. Follow steps described at the beginning of this document, in How to add a multiple choice question.
STEP 2. From the Content Library tab, drag and drop a content item onto the appropriate answer within the multiple choice question.
STEP 3. Drag and drop a placeholder onto the content library item.
Question referencing
Infiniti introduces a new ‘Question Referencing’ default value option, for the answers within multiple answers in a multiple choice question. This option is an addition to the existing ‘Selected’ and ‘Not Selected’ options. The ‘Question Referencing’ option evaluates the referenced question (to true or false), to determine the value (either Selected or Not Selected) of an answer within multiple answers in a multiple choice question.
The user’s input to the referenced question is evaluated as per the table below:
User Input | Evaluation | Output |
---|---|---|
· Numbers greater than or equal to 1 •· ‘YES’, ‘TRUE’, ‘Y’, ‘T’, ‘yes’, ‘true’, ‘y’, ‘t’. | True | Referenced answer is selected |
A null value or any input other than that stated above. | False | The referenced answer is not selected. |
The following instructions give a step-by-step guidance on using ‘Question Referencing’ within a project and demonstrate how this option differs from the previous ‘Selected’ and ‘Not Selected’ options.
STEP 1. Create a new project.
STEP 2. Insert two text field questions onto the default ‘Page 1’ and rename them as given below.
Note that the purpose of using descriptive text to name the different question types is to ease the process of understanding.
STEP 3. Add another page to the project.
STEP 4. Insert a ‘Multiple Choice' question onto Page 2 and add three more answers to it. Rename the page, question, and answers as given below.
STEP 5. Set the multiple choice question’s ‘Selection Type’ property to ‘Multiple Answers’.
STEP 6. For the ‘Selected’ answer (i.e. Answer 1), set the default value property to ‘Selected’.
STEP 7. For the ‘Not Selected’ answer (i.e. Answer 2), set the default value property to ‘Not Selected’.
STEP 8. For the ‘Question Reference (True on evaluation)’ answer (i.e. Answer 3), set the default value property to ‘(Question Reference)’ and select the Default Question like this:
STEP 9. For the ‘Question Reference (False on evaluation)’ answer (i.e. Answer 4), set the default value property to ‘(Question Reference)’ and select the Default Question like this:
STEP 10. Save the project and produce it.
STEP 11. In produce, follow the question text to enter values in the textboxes. Also, refer to the table at the beginning of the article, for guidance on the values that evaluate to true/false.
STEP 12. Click on the ‘Next’ button to navigate to Page 2.
Note
The multiple choice answers are selected/not selected on the basis of default values. The default values for the last two answers come from the evaluation of the values entered by the user on the previous page.
Updated almost 7 years ago