Difference between revisions of "Scale Grid Question"
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). | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {| width="588" 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;" | | ||
+ | '''Question Property''' | ||
− | + | | width="228" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | |
+ | '''QSL Keyword''' | ||
− | + | | width="90" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | |
+ | '''QSL Type''' | ||
− | + | |- valign="top" align="left" | |
+ | | width="270" valign="bottom" style="border:1px solid #010101;" | | ||
+ | End Points | ||
− | + | | width="228" valign="bottom" style="border:1px solid #010101;" | | |
+ | POINTS | ||
− | + | | width="90" valign="bottom" style="border:1px solid #010101;" | | |
+ | number | ||
− | + | |- 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 | ||
− | |||
[[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