Property name: Answer option columns

From Catglobe Wiki
Revision as of 10:27, 6 April 2011 by Cg huutrung (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Property name: Answer options columns

Question types applied

Single, Multi, Open question

Description

This property is used for dividing all answer options of a question into a specified number of columns.

Business logic

This property is applied only if the property “Auto arrange answer options” has a false value.

All answer options in a question will be divided into the number of columns specified in this property.

The number of answer options in each column (except for the last column) = the number of all answer options / value of this property. This is an integer division.

The number of answer options in the last column is the remainder of the division: the number of all answer options / value of this property.

If an open question does not have any answer options, the properties of answer option columns and answer option rows are the width and height of the text area. Otherwise, these values are the number of columns or rows of answer options.

The default width of the text area is 55, height is 8.

If a question does not have any answer options and the property 'Answer option column' does not have any value, the width of this text area is the default value width, 55.

Formatting

Number greater than or equal to 1

Screen examples

The image below shows how we set up answer option columns in the editor. Notice that the property 'auto arrange answer options' is false.

3602.png

The image below shows how a question with 11 answer options looks in the Questionnaire Viewer when the Answer option columns = 3.

3603.png

The image below is an open question in the Questionnaire Viewer which has no answer options and Answer option columns = 100; Answer option rows = 20.

3604.png