Difference between revisions of "Number Question"
(jrfconvert import) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | | |
− | | ||
− | Number Question | + | == Number Question == |
− | '''Syntax ''' | + | '''Syntax ''' |
− | QUESTION ''question_label ''NUMBER ''[property_set]'' | + | QUESTION ''question_label ''NUMBER ''[property_set]'' |
− | ''question_text'' | + | ''question_text'' |
− | '''Arguments''' | + | '''Arguments''' |
− | ''question_label'': is the label of the question. It must follow the standard format of question label. | + | ''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: | + | ''property_set'': is the property set of the question (optional). It must contains some of the following pre-defined properties: |
− | |||
− | + | ||
− | + | ||
− | + | {| width="680" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic" | |
+ | |- valign="top" align="left" | ||
+ | ! width="236" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''Question Property''' | ||
+ | |||
+ | ! width="220" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''QSL Keyword''' | ||
+ | |||
+ | ! width="224" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''QSL Property Type''' | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | End Points | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | POINTS | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Back Button Visible | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | BACK_BUTTON_VISIBLE | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Next Button Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | NEXT_BUTTON_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Question Style sheet | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | QUESTION_STYLE_SHEET | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Flash Height | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | FLASH_HEIGHT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Next Button Visible | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | NEXT_BUTTON_VISIBLE | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Close Button Visible | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | CLOSE_BUTTON_VISIBLE | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Required | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | REQUIRED | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Close Button Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | CLOSE_BUTTON_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Back Button Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | BACK_BUTTON_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Layout | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | LAYOUT_ID | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | RPQ Status | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | ANSWER_SHEET_STATUS | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | End | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | END | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Dummy | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | DUMMY | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Flash Width | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | FLASH_WIDTH | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Unit | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | UNIT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Flash Path | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | FLASH_PATH | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Export Position | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | EXPORT_POSITION | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Export Length | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | EXPORT_LENGTH | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire Required Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | REQUIRED_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Point Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | POINTS_TRANSACTION_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Countdown | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | COUNT_DOWN | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Script | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | SCRIPT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Reset Button Visible | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | RESET_BUTTON_VISIBLE | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Reset Button Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | RESET_BUTTON_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Minimum | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | MIN_VALUE | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Maximum | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | MAX_VALUE | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire Max Required Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | MAX_REQUIRED_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire Number Required Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | NUMBER_REQUIRED_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire Number Overflow | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | NUMBER_OVERFLOW_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire Illegal Type Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | ILLEGAL_TYPE_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire Min Val Required Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | MIN_VALUE_REQUIRED_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire Max Val Required Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | MAX_VALUE_REQUIRED_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire No Float Val Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | INTEGER_REQUIRED_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire Min Required Text | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | MIN_REQUIRED_TEXT | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Allow Decimals | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | DECIMAL_ANSWER_ALLOWED | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="236" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Allow Decimals Interval | ||
+ | |||
+ | | width="220" valign="bottom" style="border:1px solid #010101;" | | ||
+ | DECIMAL_INTERVAL_ALLOWED | ||
+ | |||
+ | | width="224" valign="bottom" style="border:1px solid #010101;" | | ||
+ | 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? <br> | ||
+ | |||
+ | [[Category:Question_Definition]] |
Latest revision as of 10:54, 20 December 2011
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?