Difference between revisions of "Single Question"
(jrfconvert import) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | | |
− | | ||
− | Single Question | + | == Single Question == |
− | '''Syntax''' | + | '''Syntax''' |
− | QUESTION ''question_label ''SINGLE'' [question_property_set]'' | + | QUESTION ''question_label ''SINGLE''[question_property_set]'' |
− | ''question_text'' | + | ''question_text'' |
− | ''ao_value_1:[ao_property_set] ao_text'' | + | ''ao_value_1:[ao_property_set] ao_text'' |
− | ''...'' | + | ''...'' |
− | ''ao_value_N:[ao_property_set] ao_text'' | + | ''ao_value_N:[ao_property_set] ao_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. |
− | ''question_property_set'': is the property set of the question. It must contain the following pre-defined properties: | + | ''question_property_set'': is the property set of the question. It must contain the following pre-defined properties: |
− | |||
− | |||
− | |||
− | 2: | + | {| width="653" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic" |
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''Question Property''' | ||
− | + | | width="242" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | |
+ | '''QSL Keyword''' | ||
− | + | | width="117" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | |
+ | '''QSL Type''' | ||
− | Back | + | |- valign="top" align="left" |
− | + | | width="295" valign="bottom" style="border:1px solid #010101;" | | |
− | + | End Points | |
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | POINTS | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Back Button Visible | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | BACK_BUTTON_VISIBLE | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Next Button Text | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | NEXT_BUTTON_TEXT | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Question Style sheet | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | QUESTION_STYLE_SHEET | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Flash Height | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | FLASH_HEIGHT | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Next Button Visible | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | NEXT_BUTTON_VISIBLE | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Close Button Visible | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | CLOSE_BUTTON_VISIBLE | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Close Button Text | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | CLOSE_BUTTON_TEXT | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Back Button Text | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | BACK_BUTTON_TEXT | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Layout | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | LAYOUT_ID | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | RPQ Status | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | ANSWER_SHEET_STATUS | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | End | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | END | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Dummy | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | DUMMY | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Flash Width | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | FLASH_WIDTH | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Flash Path | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | FLASH_PATH | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Export Position | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | EXPORT_POSITION | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Export Length | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | EXPORT_LENGTH | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Questionnaire Required Text | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | REQUIRED_TEXT | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Point Text | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | POINTS_TRANSACTION_TEXT | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Countdown | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | COUNT_DOWN | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Script | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | SCRIPT | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Reset Button Visible | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | RESET_BUTTON_VISIBLE | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Reset Button Text | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | RESET_BUTTON_TEXT | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | string | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Auto Arrange Answer Options | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | AUTO_ARRANGE_ANSWER_OPTIONS | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Answer Option Columns | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | ANSWER_OPTION_COLUMNS | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Open Answer Required | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | OPEN_ANSWER_REQUIRED | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Answer Option Rows | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | ANSWER_OPTION_ROWS | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | 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). | ||
+ | |||
+ | |||
+ | |||
+ | {| width="653" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic" | ||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''Answer Option Property''' | ||
+ | |||
+ | | width="242" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''QSL Keyword''' | ||
+ | |||
+ | | width="117" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''QSL Type''' | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Open Answer Options | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | OPEN_ANSWER | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | width="295" valign="bottom" style="border:1px solid #010101;" | | ||
+ | Default Answer Option | ||
+ | |||
+ | | width="242" valign="bottom" style="border:1px solid #010101;" | | ||
+ | DEFAULT_ANSWER | ||
+ | |||
+ | | width="117" valign="bottom" style="border:1px solid #010101;" | | ||
+ | bool | ||
+ | |||
+ | |} | ||
+ | |||
+ | ao_text: is the text of the answer option. | ||
+ | |||
+ | '''Examples''' | ||
+ | |||
+ | QUESTION QSingle SINGLE[COUNT_DOWN = 20;DUMMY=true]<br> Please select which city you are living in | ||
+ | |||
+ | 1:[DEFAULT_ANSWER=true;]Ho Chi Minh | ||
+ | |||
+ | 2:Da Nang | ||
+ | |||
+ | 3:Hue | ||
+ | |||
+ | 4:Ha Noi | ||
+ | |||
+ | [[Category:Question_Definition]] |
Latest revision as of 11:18, 20 December 2011
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