Difference between revisions of "Scale Grid Question"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
  
 
  
  
Scale Grid Question  
+
== Scale Grid Question ==
  
 
'''Syntax '''  
 
'''Syntax '''  
Line 20: Line 20:
  
 
''question_property_set'': is the property set of the question (optional).  
 
''question_property_set'': is the property set of the question (optional).  
<table width="588" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic">
 
<tbody><tr valign="top" align="left">
 
<td width="270" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">Question Property</strong></p>
 
</td>
 
<td width="228" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Keyword</strong></p>
 
</td>
 
<td width="90" 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="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">End Points</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">POINTS</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Back Button Visible</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">BACK_BUTTON_VISIBLE</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Next Button Text</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NEXT_BUTTON_TEXT</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Question Style sheet</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">QUESTION_STYLE_SHEET</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Flash Height</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_HEIGHT</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Next Button Visible</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NEXT_BUTTON_VISIBLE</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Close Button Visible</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">CLOSE_BUTTON_VISIBLE</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Required</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">REQUIRED</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Close Button Text</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">CLOSE_BUTTON_TEXT</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Back Button Text</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">BACK_BUTTON_TEXT</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Layout</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">LAYOUT_ID</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RPQ Status</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">ANSWER_SHEET_STATUS</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">End</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">END</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Dummy</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DUMMY</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Flash Width</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_WIDTH</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Flash Path</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_PATH</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Export Position</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">EXPORT_POSITION</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Export Length</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">EXPORT_LENGTH</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Required Text</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">REQUIRED_TEXT</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Point Text</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">POINTS_TRANSACTION_TEXT</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Countdown</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">COUNT_DOWN</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Script</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">SCRIPT</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Reset Button Visible</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RESET_BUTTON_VISIBLE</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Reset Button Text</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RESET_BUTTON_TEXT</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Open Answer Options</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">OPEN_ANSWER</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire In Grid Required Text</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">GRID_REQUIRED_TEXT</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Answer Option Unique Choice</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">UNIQUE_CHOICE</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Default Answer Option</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DEFAULT_ANSWER</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Open Answer Required</p>
 
</td>
 
<td width="228" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">OPEN_ANSWER_REQUIRED</p>
 
</td>
 
<td width="90" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
  
</tbody></table>
 
question_text: is the text of the question.
 
  
sub_question_property_set: is the property set of the sub question (optional). It must contains the pre-defined properties:
 
<table width="554" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic">
 
<tbody><tr valign="top" align="left">
 
<td width="270" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">Sub-question property </strong></p>
 
</td>
 
<td width="162" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Keyword</strong></p>
 
</td>
 
<td width="122" 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="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Maximum Text</p>
 
</td>
 
<td width="162" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MAX_TEXT</p>
 
</td>
 
<td width="122" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Minimum Text</p>
 
</td>
 
<td width="162" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MIN_TEXT</p>
 
</td>
 
<td width="122" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Discrete</p>
 
</td>
 
<td width="162" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DISCRETE</p>
 
</td>
 
<td width="122" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Step</p>
 
</td>
 
<td width="162" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">STEP</p>
 
</td>
 
<td width="122" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Reverse</p>
 
</td>
 
<td width="162" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">REVERSE</p>
 
</td>
 
<td width="122" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Min Value</p>
 
</td>
 
<td width="162" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MIN_VALUE</p>
 
</td>
 
<td width="122" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
<tr valign="top" align="left">
 
<td width="270" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Max Value</p>
 
</td>
 
<td width="162" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MAX_VALUE</p>
 
</td>
 
<td width="122" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 
</td>
 
</tr>
 
  
</tbody></table>
+
{| width="588" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic"
Properties of scale grid question's sub questions can be defined in the common question property set.
+
|- valign="top" align="left"
 +
| width="270" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
 +
'''Question Property'''
  
sub_question_text: is the text of the sub question.
+
| width="228" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
 +
'''QSL Keyword'''
  
Notice: there must be at least one sub question defined for a scale grid question.
+
| width="90" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
 +
'''QSL Type'''
  
Examples
+
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
End Points
  
QUESTION QScaleGrid SCALEGRID [MIN_VALUE=0,MAX_VALUE=10;MIN_TEXT="Poor";MAX_TEXT="Good";DISCRETE=true;REVERSE=false]
+
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
POINTS
  
Please rate how good these employees behave at work.
+
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
  
SQ:Brian
+
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Back Button Visible
  
SQ:Nicolaj
+
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
BACK_BUTTON_VISIBLE
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Next Button Text
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
NEXT_BUTTON_TEXT
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Question Style sheet
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
QUESTION_STYLE_SHEET
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Flash Height
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
FLASH_HEIGHT
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Next Button Visible
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
NEXT_BUTTON_VISIBLE
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Close Button Visible
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
CLOSE_BUTTON_VISIBLE
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Required
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
REQUIRED
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Close Button Text
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
CLOSE_BUTTON_TEXT
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Back Button Text
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
BACK_BUTTON_TEXT
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Layout
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
LAYOUT_ID
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
RPQ Status
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
ANSWER_SHEET_STATUS
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
End
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
END
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Dummy
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
DUMMY
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Flash Width
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
FLASH_WIDTH
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Flash Path
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
FLASH_PATH
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Export Position
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
EXPORT_POSITION
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Export Length
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
EXPORT_LENGTH
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Questionnaire Required Text
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
REQUIRED_TEXT
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Point Text
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
POINTS_TRANSACTION_TEXT
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Countdown
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
COUNT_DOWN
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Script
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
SCRIPT
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Reset Button Visible
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
RESET_BUTTON_VISIBLE
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Reset Button Text
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
RESET_BUTTON_TEXT
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Open Answer Options
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
OPEN_ANSWER
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Questionnaire In Grid Required Text
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
GRID_REQUIRED_TEXT
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Answer Option Unique Choice
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
UNIQUE_CHOICE
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Default Answer Option
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
DEFAULT_ANSWER
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Open Answer Required
 +
 
 +
| width="228" valign="bottom" style="border:1px solid #010101;" |
 +
OPEN_ANSWER_REQUIRED
 +
 
 +
| width="90" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|}
 +
 
 +
question_text: is the text of the question.
 +
 
 +
sub_question_property_set: is the property set of the sub question (optional). It must contains the pre-defined properties:
 +
 
 +
 
 +
 
 +
{| width="554" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic"
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
 +
'''Sub-question property'''
 +
 
 +
| width="162" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
 +
'''QSL Keyword'''
 +
 
 +
| width="122" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
 +
'''QSL Type'''
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Maximum Text
 +
 
 +
| width="162" valign="bottom" style="border:1px solid #010101;" |
 +
MAX_TEXT
 +
 
 +
| width="122" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Minimum Text
 +
 
 +
| width="162" valign="bottom" style="border:1px solid #010101;" |
 +
MIN_TEXT
 +
 
 +
| width="122" valign="bottom" style="border:1px solid #010101;" |
 +
string
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Discrete
 +
 
 +
| width="162" valign="bottom" style="border:1px solid #010101;" |
 +
DISCRETE
 +
 
 +
| width="122" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Step
 +
 
 +
| width="162" valign="bottom" style="border:1px solid #010101;" |
 +
STEP
 +
 
 +
| width="122" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Reverse
 +
 
 +
| width="162" valign="bottom" style="border:1px solid #010101;" |
 +
REVERSE
 +
 
 +
| width="122" valign="bottom" style="border:1px solid #010101;" |
 +
bool
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Min Value
 +
 
 +
| width="162" valign="bottom" style="border:1px solid #010101;" |
 +
MIN_VALUE
 +
 
 +
| width="122" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|- valign="top" align="left"
 +
| width="270" valign="bottom" style="border:1px solid #010101;" |
 +
Max Value
 +
 
 +
| width="162" valign="bottom" style="border:1px solid #010101;" |
 +
MAX_VALUE
 +
 
 +
| width="122" valign="bottom" style="border:1px solid #010101;" |
 +
number
 +
 
 +
|}
 +
 
 +
Properties of scale grid question's sub questions can be defined in the common question property set.
 +
 
 +
sub_question_text: is the text of the sub question.
 +
 
 +
Notice: there must be at least one sub question defined for a scale grid question.
 +
 
 +
'''Examples'''
 +
 
 +
QUESTION QScaleGrid SCALEGRID [MIN_VALUE=0,MAX_VALUE=10;MIN_TEXT="Poor";MAX_TEXT="Good";DISCRETE=true;REVERSE=false]
 +
 
 +
Please rate how good these employees behave at work.
 +
 
 +
SQ:Brian
 +
 
 +
SQ:Nicolaj  
 +
 
 +
SQ:Nicholas
  
SQ:Nicholas
 
 
[[Category:Question_Definition]]
 
[[Category:Question_Definition]]

Latest revision as of 11:14, 20 December 2011



Scale Grid Question

Syntax

QUESTION question_label TEXTGRID [question_property_set]

question_text

SQ:[sub_question_property_set] sub_question_text

...

SQ:[sub_question_property_set] sub_question_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 (optional).


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

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

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

Open Answer Options

OPEN_ANSWER

bool

Questionnaire In Grid Required Text

GRID_REQUIRED_TEXT

string

Answer Option Unique Choice

UNIQUE_CHOICE

bool

Default Answer Option

DEFAULT_ANSWER

number

Open Answer Required

OPEN_ANSWER_REQUIRED

bool

question_text: is the text of the question.

sub_question_property_set: is the property set of the sub question (optional). It must contains the pre-defined properties:


Sub-question property

QSL Keyword

QSL Type

Maximum Text

MAX_TEXT

string

Minimum Text

MIN_TEXT

string

Discrete

DISCRETE

bool

Step

STEP

number

Reverse

REVERSE

bool

Min Value

MIN_VALUE

number

Max Value

MAX_VALUE

number

Properties of scale grid question's sub questions can be defined in the common question property set.

sub_question_text: is the text of the sub question.

Notice: there must be at least one sub question defined for a scale grid question.

Examples

QUESTION QScaleGrid SCALEGRID [MIN_VALUE=0,MAX_VALUE=10;MIN_TEXT="Poor";MAX_TEXT="Good";DISCRETE=true;REVERSE=false]

Please rate how good these employees behave at work.

SQ:Brian

SQ:Nicolaj

SQ:Nicholas