Multiple choice questions offer respondents with predefined answers and allow them to select 1 or several of the answers.
See Adding a new question for help on fields common to all question types.
|
Options The following options are provided for multiple choice questions
|
|
|
Predefined answers Provides common sets of predefined choices. When an value is selected in the drop down list, the choices corresponding choices are populated in the Answers table (see below). Predefined answers are available for the languages supported in the user interface. For other language, Answers available for the question can be defined directly in the Answers table. |
|
|
Obtain answers from a database To import answers from an external relational database, select option Obtain answers from a database. They will not be synchronized in real time when respondents take the survey. Answers will be copied to the database for NoviSurvey at the time of import. Synchronization of the Answers in NoviSurvey with new or modified data in the external database necessitates running the import again. The following options are available to synchronize the answers for the question with the data in the external database:
Determination of updates and deletion of records in the external database relies on the key field retrieved for each record in the fetch (see discussion of SQL field below). The database type field specifies the type of the external database. Supported database types include SQL Server, Oracle, Microsoft Access, Microsoft Excel, and mySQL. For support of other types of database, contact NoviSystems support. The connection string to the database specified how NoviSurvey should connect to the database and which credentials to use. The connection string syntax is specific to the type of the database. For databases other than mySQl, specify a Provider in the connection string. For connecting Microsoft database products, use OLE DB Provider SQLOLEDB (Provider=SQLOLEDB; Data Source= ...). For connecting to Oracle, use OLE DB Provider OraOLEDB.Oracle (Provider=OraOLEDB.Oracle; Data Source= ...). For connecting to mySQL, use a connection string formatted as: Server=myServer;Database=myDataBase;Uid=myUsername;Pwd=myPassword; Field SQL for fetching data from the database specifies the query used to retrieve the data from the external database. The SQL select must contain a column aliased as answerKey and one column for each language for the survey aliased as anwerValue_{language} where {language} is a language code stripped of any '-' character (e.g., anwerValue_enUS). If there is only one language for the survey, the language code is optional. Example of SQL for fetching answers from a database: select x.ID answerKey, x.Name1 answerValue_enUS, x.Name2 answerValue_frFR from ControlledVocab x |
|
|
The answers table defines the answers available for the question. Each answer must be defined for each language for the survey. To reorder the answers, use arrows To add a new answer, use button To remove an answer use button To specify that an answer should be selected by default when the respondent reaches the page with the question, select the Default check box for the answer. The number of responses already gathered for each of the answers is shown in column "# Responses". To include an answer "Other", select the Include 'Other answer' option. The text for the answer must be defined in field Label for 'Other' answer. To provide a free text field to respondent when they select the 'Other' answer, select option "Show free text entry widget". The free text field can be either a single line text field or a multi-line text field. To required entry of some text in the free text field corresponding to the 'Other' option, select option "Require free text entry". |
|
|
Display type Specifies how the answers should be presented to respondents. The options available are:
For any options other than "Drop down", it is possible to specify the number of columns or rows used to arrange the radio buttons or check boxes. For horizontal layouts, the number of columns can be specified. For vertical layouts, the number of rows can be specified. If the number of column (or rows) is not set, the radio buttons or check boxes will be arranged in one row or one column. Option show border determines if a border is drawn around each option in the question. If the border is shown, the color border is the same as the matrix border color for the template associated to the survey. |
|
See also How to use the rich text editor, How to spell check the content of a page