Difference between revisions of "Number Question"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+


+
Number Question
  
Number Question
+
'''Syntax '''
  
'''Syntax '''
+
QUESTION ''question_label ''NUMBER ''[property_set]''  
  
QUESTION ''question_label ''NUMBER ''[property_set]''
+
''question_text''  
  
''question_text''
+
'''Arguments'''  
  
'''Arguments'''
+
''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.
+
''property_set'': is the property set of the question (optional). It must contains some of the following pre-defined properties:
 +
<table width="680" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic">
 +
<tbody><tr valign="top" align="left">
 +
<th width="236" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">Question Property</strong></p>
 +
</th>
 +
<th width="220" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Keyword</strong></p>
 +
</th>
 +
<th width="224" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;"><p class="bodytext"><strong class="specialbold">QSL Property Type</strong></p>
 +
</th>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">End Points</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">POINTS</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Back Button Visible</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">BACK_BUTTON_VISIBLE</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Next Button Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NEXT_BUTTON_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Question Style sheet</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">QUESTION_STYLE_SHEET</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Flash Height</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_HEIGHT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Next Button Visible</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NEXT_BUTTON_VISIBLE</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Close Button Visible</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">CLOSE_BUTTON_VISIBLE</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Required</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">REQUIRED</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Close Button Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">CLOSE_BUTTON_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Back Button Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">BACK_BUTTON_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Layout</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">LAYOUT_ID</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RPQ Status</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">ANSWER_SHEET_STATUS</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">End</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">END</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Dummy</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DUMMY</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Flash Width</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_WIDTH</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Unit</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">UNIT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Flash Path</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">FLASH_PATH</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Export Position</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">EXPORT_POSITION</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Export Length</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">EXPORT_LENGTH</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Required Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">REQUIRED_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Point Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">POINTS_TRANSACTION_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Countdown</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">COUNT_DOWN</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Script</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">SCRIPT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Reset Button Visible</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RESET_BUTTON_VISIBLE</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Reset Button Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">RESET_BUTTON_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Minimum</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MIN_VALUE</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Maximum</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MAX_VALUE</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">number</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Max Required Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MAX_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Number Required Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NUMBER_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Number Overflow</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">NUMBER_OVERFLOW_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Illegal Type Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">ILLEGAL_TYPE_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Min Val Required Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MIN_VALUE_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Max Val Required Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MAX_VALUE_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire No Float Val Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">INTEGER_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Questionnaire Min Required Text</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">MIN_REQUIRED_TEXT</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">string</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Allow Decimals</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DECIMAL_ANSWER_ALLOWED</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="236" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">Allow Decimals Interval</p>
 +
</td>
 +
<td width="220" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">DECIMAL_INTERVAL_ALLOWED</p>
 +
</td>
 +
<td width="224" valign="bottom" style="border:1px solid #010101;"><p class="bodytext">bool</p>
 +
</td>
 +
</tr>
  
''property_set'': is the property set of the question (optional). It must contains some of the following pre-defined properties:
+
</tbody></table>
[BACK_BUTTON_VISIBLE=true;BACK_BUTTON_TEXT="&gt;&gt;";COUNT_DOWN=5]
 
  
How old are you?
+
 
__NOTOC__
+
 
<!-- imported from file: 5053.htm-->
+
How old are you? __NOTOC__ <!-- imported from file: 5053.htm-->  
 +
 
 +
 
 +
[[Category:Question_Definition]]

Revision as of 10:53, 20 December 2011

 Number Question

Syntax

QUESTION question_label NUMBER [property_set]

question_text

Arguments

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

property_set: is the property set of the question (optional). It must contains some of the following pre-defined properties:

<tbody> </tbody>

Question Property

QSL Keyword

QSL Property 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

Unit

UNIT

string

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

Minimum

MIN_VALUE

number

Maximum

MAX_VALUE

number

Questionnaire Max Required Text

MAX_REQUIRED_TEXT

string

Questionnaire Number Required Text

NUMBER_REQUIRED_TEXT

string

Questionnaire Number Overflow

NUMBER_OVERFLOW_TEXT

string

Questionnaire Illegal Type Text

ILLEGAL_TYPE_TEXT

string

Questionnaire Min Val Required Text

MIN_VALUE_REQUIRED_TEXT

string

Questionnaire Max Val Required Text

MAX_VALUE_REQUIRED_TEXT

string

Questionnaire No Float Val Text

INTEGER_REQUIRED_TEXT

string

Questionnaire Min Required Text

MIN_REQUIRED_TEXT

string

Allow Decimals

DECIMAL_ANSWER_ALLOWED

bool

Allow Decimals Interval

DECIMAL_INTERVAL_ALLOWED

bool


How old are you?