Difference between revisions of "Property name: Answer option rows"

From Catglobe Wiki
Jump to: navigation, search
 
Line 43: Line 43:
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
[[Category:Non language dependent properties]]

Latest revision as of 10:28, 6 April 2011

Property name: Answer option rows

Question types applied

Single, Multi, Open question

Description

This property is used for dividing all answer options of a question into a set number of rows.

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 rows. The number of rows is the value of this property.

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

The number of answer options in the last row 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 text area is 55, height is 8. If it does not have any answer options and the property 'answer option row' does not have any value, the height of this text area is the default value 8.

Formatting

Number greater than or equal to 1

Screen examples

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

3606.png

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

3607.png