Difference between revisions of "Single Question"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
  
 
  
  
==Single Question ==
+
== Single Question ==
  
 
'''Syntax'''  
 
'''Syntax'''  
Line 19: Line 19:
 
''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:  
  
<table width="653" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic">
 
<tbody><tr valign="top" align="left">
 
<td width="295" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">Question Property</strong></p>
 
</td>
 
<td width="242" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Keyword</strong></p>
 
</td>
 
<td width="117" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Type </strong></p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">End Points</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">POINTS</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Back Button Visible</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">BACK_BUTTON_VISIBLE</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Next Button Text</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NEXT_BUTTON_TEXT</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Question Style sheet</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">QUESTION_STYLE_SHEET</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Flash Height</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_HEIGHT</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Next Button Visible</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NEXT_BUTTON_VISIBLE</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Close Button Visible</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">CLOSE_BUTTON_VISIBLE</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Close Button Text</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">CLOSE_BUTTON_TEXT</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Back Button Text</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">BACK_BUTTON_TEXT</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Layout</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">LAYOUT_ID</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RPQ Status</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">ANSWER_SHEET_STATUS</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">End</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">END</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Dummy</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DUMMY</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Flash Width</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_WIDTH</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Flash Path</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_PATH</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Export Position</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">EXPORT_POSITION</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Export Length</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">EXPORT_LENGTH</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Required Text</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">REQUIRED_TEXT</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Point Text</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">POINTS_TRANSACTION_TEXT</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Countdown</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">COUNT_DOWN</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Script</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">SCRIPT</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Reset Button Visible</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RESET_BUTTON_VISIBLE</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Reset Button Text</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RESET_BUTTON_TEXT</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Auto Arrange Answer Options</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">AUTO_ARRANGE_ANSWER_OPTIONS</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Answer Option Columns</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">ANSWER_OPTION_COLUMNS</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Open Answer Required</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">OPEN_ANSWER_REQUIRED</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Answer Option Rows</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">ANSWER_OPTION_ROWS</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
  
</tbody></table>
 
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"
<table width="653" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic">
+
|- valign="top" align="left"
<tbody><tr valign="top" align="left">
+
| width="295" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
<td width="295" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">Answer Option Property </strong></p>
+
'''Question Property'''
</td>
 
<td width="242" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Keyword</strong></p>
 
</td>
 
<td width="117" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Type </strong></p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Open Answer Options</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">OPEN_ANSWER</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="295" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Default Answer Option</p>
 
</td>
 
<td width="242" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DEFAULT_ANSWER</p>
 
</td>
 
<td width="117" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
  
</tbody></table>
+
| width="242" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
ao_text: is the text of the answer option.
+
'''QSL Keyword'''
  
Examples
+
| width="117" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
 +
'''QSL Type'''
  
QUESTION QSingle SINGLE[COUNT_DOWN = 20;DUMMY=true]
+
|- 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
  
Please select which city you are living in  
+
| 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  
 
1:[DEFAULT_ANSWER=true;]Ho Chi Minh  
Line 296: Line 358:
  
 
4:Ha Noi  
 
4:Ha Noi  
 
  
 
[[Category:Question_Definition]]
 
[[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