Difference between revisions of "Multi Question"

From Catglobe Wiki
Jump to: navigation, search
Line 21: Line 21:
  
 
''question_property_set'': is a QSL property set used for defining current question's properties. This is an optional argument.
 
''question_property_set'': is a QSL property set used for defining current question's properties. This is an optional argument.
 +
<table width="660" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic">
 +
<tbody><tr valign="top" align="left">
 +
<th width="295" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">Question Property</strong></p>
 +
</th>
 +
<th width="241" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Keyword</strong></p>
 +
</th>
 +
<th width="125" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Type </strong></p>
 +
</th>
 +
</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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">POINTS</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">BACK_BUTTON_VISIBLE</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NEXT_BUTTON_TEXT</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">QUESTION_STYLE_SHEET</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_HEIGHT</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NEXT_BUTTON_VISIBLE</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">CLOSE_BUTTON_VISIBLE</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">CLOSE_BUTTON_TEXT</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">BACK_BUTTON_TEXT</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">LAYOUT_ID</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">ANSWER_SHEET_STATUS</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">END</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DUMMY</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_WIDTH</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_PATH</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">EXPORT_POSITION</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">EXPORT_LENGTH</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">REQUIRED_TEXT</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">POINTS_TRANSACTION_TEXT</p>
 +
</td>
 +
<td width="125" 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">Count down</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">COUNT_DOWN</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">SCRIPT</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RESET_BUTTON_VISIBLE</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RESET_BUTTON_TEXT</p>
 +
</td>
 +
<td width="125" 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">Minimum</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MIN_VALUE</p>
 +
</td>
 +
<td width="125" 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">Maximum</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MAX_VALUE</p>
 +
</td>
 +
<td width="125" 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 Max Required Text</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MAX_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="125" 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">Questionnaire Min Val Required Text</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MIN_VALUE_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="125" 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">Questionnaire Max Val Required Text</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MAX_VALUE_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="125" 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">Questionnaire Min Required Text</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MIN_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">AUTO_ARRANGE_ANSWER_OPTIONS</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">ANSWER_OPTION_COLUMNS</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">OPEN_ANSWER_REQUIRED</p>
 +
</td>
 +
<td width="125" 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="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">ANSWER_OPTION_ROWS</p>
 +
</td>
 +
<td width="125" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
 +
</tbody></table>
 +
 +
 
[OPEN_ANSWER = true]Other place , please specify7:[NO_MULTI=true]No , i want to be at home at this time
 
[OPEN_ANSWER = true]Other place , please specify7:[NO_MULTI=true]No , i want to be at home at this time
  

Revision as of 10:47, 20 December 2011



Multi Question

Syntax

QUESTION question_label MULTI [question_property_set]

question_text

answer_option_value_1: [answer_option_property_set] answer_option_text

...

answer_option_value_N: [answer_option_property_set] answer_option_text

Arguments

question_label: is the question label. It must follow the standard format of question label.

question_property_set: is a QSL property set used for defining current question's properties. This is an optional argument.

<tbody> </tbody>

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

Count down

COUNT_DOWN

number

Script

SCRIPT

string

Reset Button Visible

RESET_BUTTON_VISIBLE

bool

Reset Button Text

RESET_BUTTON_TEXT

string

Minimum

MIN_VALUE

number

Maximum

MAX_VALUE

number

Questionnaire Max Required Text

MAX_REQUIRED_TEXT

string

Questionnaire Min Val Required Text

MIN_VALUE_REQUIRED_TEXT

string

Questionnaire Max Val Required Text

MAX_VALUE_REQUIRED_TEXT

string

Questionnaire Min Required Text

MIN_REQUIRED_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


[OPEN_ANSWER = true]Other place , please specify7:[NO_MULTI=true]No , i want to be at home at this time

Back to: Multi