General Structure of a QSL Input

From Catglobe Wiki
Revision as of 10:35, 20 December 2011 by Cg pham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



General Structure of a QSL Input

Syntax

QUESTIONNAIRE [property_set]

question1_definition

question2_definition

...

questionN_definition

Arguments

property_set: defines the questionnaire template's properties. It is optional.

questioni_definition: see Question Definition

Rules

  • Key word QUESTIONNAIRE must be placed at the beginning of the first line of the script.
  • At least 1 question must be defined.
  • List of questionnaire properties can be defined using QSL:

Questionnaire Property

QSL Property

QSL Property Type

Back Button Text

BACK_BUTTON_TEXT

string

Back Button Visible

BACK_BUTTON_VISIBLE

bool

Close Button Text

CLOSE_BUTTON_TEXT

string

Close Button Visible

CLOSE_BUTTON_VISIBLE

bool

Count down

COUNT_DOWN

number

Next Button Text

NEXT_BUTTON_TEXT

string

Next Button Visible

NEXT_BUTTON_VISIBLE

bool

Point Text

POINTS_TRANSACTION_TEXT

string

Questionnaire After End Date Text

QUESTIONNAIRE_AFTER_END_DATE_TEXT

string

Questionnaire Before Start Date Text

QUESTIONNAIRE_BEFORE_START_DATE_TEXT

string

Questionnaire Closed Text

QUESTIONNAIRE_CLOSED_TEXT

string

Questionnaire Completed Text

QUESTIONNAIRE_COMPLETED_TEXT

string

Questionnaire End Text

QUESTIONNAIRE_END_TEXT

string

Questionnaire Illegal Type Text

ILLEGAL_TYPE_TEXT

string

Questionnaire In Grid Required Text

GRID_REQUIRED_TEXT

string

Questionnaire Max In Grid Required Text

MAX_VALUE_IN_GRID_REQUIRED_TEXT

string

Questionnaire Max Required Text

MAX_REQUIRED_TEXT

string

Questionnaire Max Val Required Text

MAX_VALUE_REQUIRED_TEXT

string

Questionnaire Min In Grid Required Text

MIN_VALUE_IN_GRID_REQUIRED_TEXT

string

Questionnaire Min Required Text

MIN_REQUIRED_TEXT

string

Questionnaire Min Val Required Text

MIN_VALUE_REQUIRED_TEXT

string

Questionnaire No Float Val Text

INTEGER_REQUIRED_TEXT

string

Questionnaire Not Open Text

QUESTIONNAIRE_NOT_OPEN_TEXT

string

Questionnaire Number Over flow

NUMBER_OVERFLOW_TEXT

string

Questionnaire Number Required Text

NUMBER_REQUIRED_TEXT

string

Questionnaire Paused Text

QUESTIONNAIRE_PAUSE_TEXT

string

Questionnaire Required Text

REQUIRED_TEXT

string

Questionnaire Unauthorized Access Text

QUESTIONNAIRE_UNAUTHORIZED_ACCESS_TEXT

string

Required

REQUIRED

bool

Reset Button Text

RESET_BUTTUN_TEXT

string

Reset Button Visible

RESET_BUTTON_VISIBLE

bool

Script for JavaScript

JAVA_SCRIPT

string

Script for CGScript

CG_SCRIPT

string