Collecting multiple answers in a survey
In legacy surveys, you can use a complex question to collect a series of responses from users. By choosing a question format that is specific to the type of information that you are gathering, you can help users provide complete answers.
- Click Designer Studio > Case Management > Survey to open the Survey Management landing page.
-
In the Type column, find a legacy survey, and then click the
name of the survey.
The legacy survey must have at least one question page defined.
- Click Add question > Browse all types > Multi answer > [answer type] to open the Add question dialog box.
- In the Name field, enter a unique name that describes the purpose of the question.
- Optional:
To change the scope of the question, expand the Context section
and provide a different class name, ruleset name, or ruleset version.
The scope controls which rules can reference your question and which rules your question can reference.
-
In the Question layout list, select an option that indicates how
the text of the question is sourced in your application.
For example, you can define your own text or reuse the text from a paragraph rule.
-
Provide the source of the question text by entering a value in one of the following
fields:
-
Paragraph - A paragraph rule in your application.
-
Section reference - A section rule in your application.
-
Question - Plain text that you provide.
-
Question text - Rich text that you provide.
-
-
Format the fields that users interact with to answer the question.
-
Fixed number of text boxes:
-
In the Display header field, enter a label that describes the group of text boxes.
-
In the Number of rows list, select Fixed.
-
In the Property type list, select No Property Mapping to store the answers to the question in the default clipboard structure.
-
In the Data type list, select Date or Text, based on the expected response to the question.
-
For each text box in the group, repeat the following steps:
-
Click the Add row icon.
-
In the Answer ID field, enter a unique identifier that distinguishes this text box from other text boxes in the group.
-
In the When field, press the Down Arrow key and select a when condition that controls whether the text box is displayed in the group.
-
In the Display value field, enter a label for the text box.
-
In the Value field, enter a value that is stored on the clipboard when the user enters an answer in the text box.
-
-
-
Dynamic number of text boxes:
-
In the Display header field, enter a label that describes the group of text boxes.
-
In the Number of rows list, select Dynamic.
-
In the Property type list, select No Property Mapping to store the answers to the question in the default clipboard structure.
-
In the Data type list, select Date or Text, based on the expected response to the question.
At run time, users decide how many text boxes are added to the group. For example, they can enter none, some, or all dates of their previous medical procedures.
-
-
Radio button matrix:
Use a radio button matrix to ask a series of related questions that are answered by selecting one option from a repeating group of radio buttons. For example, you can ask users to rate their pain threshold on a scale of one to five for different activities, such as swimming, running, or walking.
-
In the Property type list, select No Property Mapping to store the answers to the question in the default clipboard structure.
-
In the Radio button header details section, repeat the following steps for each column in the matrix:
-
Click the Add row icon.
-
In the Label field, enter the label of the radio button, which is displayed as a column heading at run time.
-
In the Value field, enter the value that is stored on the clipboard when a user selects this radio button.
-
-
In the Radio button row details section, repeat the following steps for each row in the matrix:
-
In the Answer ID field, enter a unique identifier that distinguishes this question from other questions in the series.
-
In the When field, press the Down Arrow key and select a when condition that controls whether this question is included in the series.
-
In the Display value field, enter the label for the question, which is displayed as a row heading at run time.
-
In the Default list, select the default value that is assigned to the question in the series.
-
-
-
Multiple check boxes:
-
In the Display header field, enter a label that describes the group of check boxes.
-
In the Property type list, select No Property Mapping to store the answers to the question in the default clipboard structure.
-
For each check box, repeat the following steps:
- Click the Add row icon.
-
In the Answer ID field, enter a unique identifier that distinguishes this check box from other check boxes in the group.
-
In the When field, press the Down Arrow key and select a when condition that controls whether the check box is displayed in the group.
-
In the Display value field, enter a label for the check box.
-
In the Value field, enter a value that is stored on the clipboard when the user selects the check box.
-
Select the check box in the Selected column, to set the default state of the check box to selected at run time.
-
-
Table:
-
- Click Save to close the Add question dialog box.