Single Question

From Catglobe Wiki
Jump to: navigation, search



Single Question

Syntax

QUESTION question_label SINGLE[question_property_set]

question_text

ao_value_1:[ao_property_set] ao_text

...

ao_value_N:[ao_property_set] ao_text

Arguments

question_label: is the label of the question. It must follow the standard format of question label.

question_property_set: is the property set of the question. It must contain the following pre-defined properties:


Question Property

QSL Keyword

QSL Type

End Points

POINTS

number

Back Button Visible

BACK_BUTTON_VISIBLE

bool

Next Button Text

NEXT_BUTTON_TEXT

string

Question Style sheet

QUESTION_STYLE_SHEET

number

Flash Height

FLASH_HEIGHT

number

Next Button Visible

NEXT_BUTTON_VISIBLE

bool

Close Button Visible

CLOSE_BUTTON_VISIBLE

bool

Close Button Text

CLOSE_BUTTON_TEXT

string

Back Button Text

BACK_BUTTON_TEXT

string

Layout

LAYOUT_ID

number

RPQ Status

ANSWER_SHEET_STATUS

number

End

END

bool

Dummy

DUMMY

bool

Flash Width

FLASH_WIDTH

number

Flash Path

FLASH_PATH

string

Export Position

EXPORT_POSITION

number

Export Length

EXPORT_LENGTH

number

Questionnaire Required Text

REQUIRED_TEXT

string

Point Text

POINTS_TRANSACTION_TEXT

string

Countdown

COUNT_DOWN

number

Script

SCRIPT

string

Reset Button Visible

RESET_BUTTON_VISIBLE

bool

Reset Button Text

RESET_BUTTON_TEXT

string

Auto Arrange Answer Options

AUTO_ARRANGE_ANSWER_OPTIONS

bool

Answer Option Columns

ANSWER_OPTION_COLUMNS

number

Open Answer Required

OPEN_ANSWER_REQUIRED

bool

Answer Option Rows

ANSWER_OPTION_ROWS

number

ao_value_i: is a positive integer defining the answer option ith's value, which must be placed at the beginning of the line. A single question has at least one answer option.

ao_property_set: is the property set of the answer option (optional).


Answer Option Property

QSL Keyword

QSL Type

Open Answer Options

OPEN_ANSWER

bool

Default Answer Option

DEFAULT_ANSWER

bool

ao_text: is the text of the answer option.

Examples

QUESTION QSingle SINGLE[COUNT_DOWN = 20;DUMMY=true]
Please select which city you are living in

1:[DEFAULT_ANSWER=true;]Ho Chi Minh

2:Da Nang

3:Hue

4:Ha Noi