Difference between revisions of "Multi Question"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 296: Line 296:
  
 
</tbody></table>
 
</tbody></table>
 +
answer_option_value_i: a positive integer used as answer option's value, which must be placed at the beginning of the line. A question has at least 1 answer option.
  
 +
answer_option_property_set: a QSL property set defining an answer option's properties.
 +
<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">Answer Option 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">Open Answer Options</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">OPEN_ANSWER</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">Default Answer Option</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DEFAULT_ANSWER</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">No multi</p>
 +
</td>
 +
<td width="241" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NO_MULTI</p>
 +
</td>
 +
<td width="125" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
  
[OPEN_ANSWER = true]Other place , please specify7:[NO_MULTI=true]No , i want to be at home at this time
+
</tbody></table>
 +
answer_option_text: is the text of the answer option.
 +
 
 +
Example
 +
 
 +
QUESTION QMulti MULTI
 +
 
 +
Please tell us where you want to go for the next vacation
 +
 
 +
1: Sydney
 +
 
 +
2: Paris
 +
 
 +
3: New York
 +
 
 +
4: Rome
 +
 
 +
5: London
 +
 
 +
6:[OPEN_ANSWER = true]Other place , please specify <br>
 +
7:[NO_MULTI=true]No , i want to be at home at this time
  
Back to: [[ Multi ]]
 
__NOTOC__
 
 
<!-- imported from file: 5050.htm-->
 
<!-- imported from file: 5050.htm-->

Latest revision as of 11:49, 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

answer_option_value_i: a positive integer used as answer option's value, which must be placed at the beginning of the line. A question has at least 1 answer option.

answer_option_property_set: a QSL property set defining an answer option's properties.

<tbody> </tbody>

Answer Option Property

QSL Keyword

QSL Type

Open Answer Options

OPEN_ANSWER

bool

Default Answer Option

DEFAULT_ANSWER

bool

No multi

NO_MULTI

bool

answer_option_text: is the text of the answer option.

Example

QUESTION QMulti MULTI

Please tell us where you want to go for the next vacation

1: Sydney

2: Paris

3: New York

4: Rome

5: London

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