Number Question

From Catglobe Wiki
Jump to: navigation, search



Number Question

Syntax

QUESTION question_label NUMBER [property_set]

question_text

Arguments

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

property_set: is the property set of the question (optional). It must contains some of the following pre-defined properties:


Question Property

QSL Keyword

QSL Property 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

Required

REQUIRED

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

Unit

UNIT

string

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

Minimum

MIN_VALUE

number

Maximum

MAX_VALUE

number

Questionnaire Max Required Text

MAX_REQUIRED_TEXT

string

Questionnaire Number Required Text

NUMBER_REQUIRED_TEXT

string

Questionnaire Number Overflow

NUMBER_OVERFLOW_TEXT

string

Questionnaire Illegal Type Text

ILLEGAL_TYPE_TEXT

string

Questionnaire Min Val Required Text

MIN_VALUE_REQUIRED_TEXT

string

Questionnaire Max Val Required Text

MAX_VALUE_REQUIRED_TEXT

string

Questionnaire No Float Val Text

INTEGER_REQUIRED_TEXT

string

Questionnaire Min Required Text

MIN_REQUIRED_TEXT

string

Allow Decimals

DECIMAL_ANSWER_ALLOWED

bool

Allow Decimals Interval

DECIMAL_INTERVAL_ALLOWED

bool

question_text: is the text of the question.

Examples

QUESTION QNumber NUMBER [BACK_BUTTON_VISIBLE=true;BACK_BUTTON_TEXT=">>";COUNT_DOWN=5]

How old are you?