Choice Question
A Choice Question enables the end user who fills out the form to select an answer to the question from a list. When you add the Choice Question, the Add item - Choice Question panel appears, prompting to specify the three required properties: Question text, Answer field, and Possible answers. Only after filling out these required fields, you can edit the question further.
In some properties, such as Question text, Help text, or Default answer, you can also use Fields as part of the value. The Add field option is available when you create a new answer or edit an existing one. Answers containing a Field cannot be used to show or hide groups.
A Choice Question has the following properties:
Question text
The Question text field displays the question to the end user. You can use HTML syntax to format this text.
Read-only
Select this option to make the question read-only. When the Form is filled out, the default answer is displayed, and the user cannot change this value.
This option can be used in Forms only.
Answer field
Answers to questions are stored in the Answer field. This field can be used in the Master Template document. Click Select to select the location to save the answer to this particular question. The available Answer fields are shown in a drop-down list. The list of available answer fields can be configured in KCM Repository with the assistance of Field Sets.
Help text
Help text can be added to a question to provide additional information to the end user. By default, an info icon is displayed next to the question. If the end user moves the pointer over this info icon, the help text appears. Use HTML syntax to format this text.
Display
In the Display section, you can specify how the question is displayed to the end user and what kind of choices are available from the list of possible answers.
If the option Allow multiple answers to be selected is not selected, the end user can select one answer only. This is the default choice. In this case, the end user can see the list of possible answers as a list box. Select the check box Show answers as radio buttons to display the list of possible answers as a radio buttons instead of a list box.
When the option Allow multiple answers to be selected is selected, the end user can select zero or more answers from the list of possible answers. If you select the option Allow selected answers to be ordered, the end user can also change the order of the selected answers stored in the Answer field.
After you select the option Allow selected answers to be ordered, it is not possible to show or hide groups based on this question.
Possible answers
The end user can select an answer from the list of possible answers. To specify a possible answer, select one of these options:
-
Fixed
Select the Fixed option to have a fixed list of possible answers. When this option is selected, the text area below the option Fixed displays the currently configured list of possible answers. The end user can add a new answer to the list of answers, modify, delete, or reorder the list by clicking the Up and Down arrows.
-
From field
Select the From field option to indicate that the list of possible answers should be retrieved from a field. The field should contain a comma-separated list of text values that can be selected by the end user.
Fill in the possible answers in this window. The end user can select from the prepared answers:
- Click "New" to add a new answer to the list of answers.
- Click "Edit" to change the text of an answer.
- Click "Delete" to remove an answer from the list of answers.
- Click the Up and Down arrows to change the order of possible answers displayed to the end user.
Default answer
When the Form is presented to the end user, the appropriate fields are filled in with the default answers defined in this section. Depending on the Possible answers field settings, the following options may be available: Default or Answer, and From Field.
-
With the Default option, KCM can select the default answer automatically. This option is available only when the list of possible answers is imported from a field. For questions that require only one answer, this option selects the first available answer. For questions with the multiple answers enabled, no answers are selected by default.
-
With the Answer option, you can select one or more default answers from the list of possible answers. This option is only available when the list of possible answers is fixed.
This option behavior varies depending on the Display settings:
- When you edit a question with only a single answer available, a list box containing the list of possible answers appears. From this list, only one answer can be selected as the default.
- When your question allows multiple answers, you can select zero or more answers. In this case, two different lists appear. The right-side list contains the currently selected default answers, while the left-side list contains the answers that are not currently selected as default answers. Answers can be transferred from one list to anther using the left and right arrows displayed between the lists. When you select the option Allow selected answers to be ordered, you can order selected answers using the Up and Down arrows next to the list of selected answers.
-
Select From Field to indicate that the default answers should be taken from a field. For questions with multiple answers available, the field should contain a comma-separated list of values that can be used as the default answers. For questions with only a single answer available, the field should contain the text of the answer that should be selected by default.
Validation
Forms
When None is selected on the Validation tab, the answer to the question is not validated.
When A non-empty answer is required is selected, the end user is prompted to fill in the answer to the question. Otherwise, an error occurs.
QForm
When None is selected on the Validation tab, the answer to the question is not validated.
In QForm, the option A non-empty answer is required is selected by default to ensure the user fills in an answer. Otherwise, an error occurs.
Error message text
You can specify the message of the error displaying to the end user in the Error message text field and format this text by using HTML syntax. In addition, you can add the value from a Field.
Advanced
This feature is for advanced users only. We recommend that you do not enter or change IDs on this tab unless you are aware of the implications.
Every question in a Form is associated with a unique identifier (ID). If Question IDs are not present in a Form, they are automatically generated when a Form is saved. You can change this ID manually on this tab. For more information, see the "Integration" chapter in the Kofax Communications Manager Core Developer's Guide