Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Open Question: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
Cg_pham (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
== Open Question  ==



Open Question
'''Syntax'''


'''Syntax'''
QUESTION ''question_label ''OPEN ''[question_property_set]''  


QUESTION ''question_label ''OPEN ''[question_property_set]''
''question_text''  


''question_text''
''ao_value_1:[ao_property_set] ao_text''  


''ao_value_1:[ao_property_set] ao_text''
''...''  


''...''
''ao_value_N:[ao_property_set] ao_text''  


''ao_value_N:[ao_property_set] ao_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.
''question_property_set'': is the property set of the question (optional). It must contains the following pre-defined properties:


''question_property_set'': is the property set of the question (optional). It must contains the following pre-defined properties:
<br>
 
{| width="657" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic"
|- valign="top" align="left"
| width="295" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Question Property'''
 
| width="238" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''QSL Keyword'''  
 
| width="125" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''QSL Type'''
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
End Points
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
POINTS
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Back Button Visible
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
BACK_BUTTON_VISIBLE
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
bool
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Next Button Text
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
NEXT_BUTTON_TEXT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Question Style sheet
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
QUESTION_STYLE_SHEET
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Flash Height
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
FLASH_HEIGHT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Next Button Visible
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
NEXT_BUTTON_VISIBLE
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
bool
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Close Button Visible
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
CLOSE_BUTTON_VISIBLE
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
bool
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Close Button Text
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
CLOSE_BUTTON_TEXT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Back Button Text
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
BACK_BUTTON_TEXT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Layout
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
LAYOUT_ID
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
RPQ Status
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
ANSWER_SHEET_STATUS
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
End
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
END
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
bool
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Dummy
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
DUMMY
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
bool
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Flash Width
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
FLASH_WIDTH
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Flash Path
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
FLASH_PATH
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Export Position
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
EXPORT_POSITION
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Export Length
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
EXPORT_LENGTH
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Questionnaire Required Text
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
REQUIRED_TEXT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Point Text
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
POINTS_TRANSACTION_TEXT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Count down
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
COUNT_DOWN
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Script
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
SCRIPT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Reset Button Visible
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
RESET_BUTTON_VISIBLE
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
bool
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Reset Button Text
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
RESET_BUTTON_TEXT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Minimum
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
MIN_VALUE
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Maximum
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
MAX_VALUE
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Questionnaire Max Required Text
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
MAX_REQUIRED_TEXT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Questionnaire Min Required Text
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
MIN_REQUIRED_TEXT
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
string
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Auto Arrange Answer Options
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
AUTO_ARRANGE_ANSWER_OPTIONS
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
bool
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Answer Option Columns
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
ANSWER_OPTION_COLUMNS
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |
Answer Option Rows
 
| width="238" valign="bottom" style="border:1px solid #010101;" |
ANSWER_OPTION_ROWS
 
| width="125" valign="bottom" style="border:1px solid #010101;" |
number
 
|}
 
ao_value_i: is the value of answer option ith, which is a positive integer, and must be placed at the beginning of the line. An open question must have at least 1 answer option.
 
ao_property_set: is the property set of the answer option (optional). It must contains the pre-defined properties:  


{| class="tableintopic" style="border-collapse: collapse; border: 1px solid #010101" width="657" border="1" cellpadding="2"
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" bgcolor="#C0C0C0" valign="bottom" |
'''Question Property'''
| style="border: 1px solid #010101" width="238" bgcolor="#C0C0C0" valign="bottom" |
'''QSL Keyword'''
| style="border: 1px solid #010101" width="125" bgcolor="#C0C0C0" valign="bottom" |
'''QSL Type '''
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
End Points
| style="border: 1px solid #010101" width="238" valign="bottom" |
POINTS
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Back Button Visible
| style="border: 1px solid #010101" width="238" valign="bottom" |
BACK_BUTTON_VISIBLE
| style="border: 1px solid #010101" width="125" valign="bottom" |
bool
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Next Button Text
| style="border: 1px solid #010101" width="238" valign="bottom" |
NEXT_BUTTON_TEXT
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Question Style sheet
| style="border: 1px solid #010101" width="238" valign="bottom" |
QUESTION_STYLE_SHEET
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Flash Height
| style="border: 1px solid #010101" width="238" valign="bottom" |
FLASH_HEIGHT
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Next Button Visible
| style="border: 1px solid #010101" width="238" valign="bottom" |
NEXT_BUTTON_VISIBLE
| style="border: 1px solid #010101" width="125" valign="bottom" |
bool
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Close Button Visible
| style="border: 1px solid #010101" width="238" valign="bottom" |
CLOSE_BUTTON_VISIBLE
| style="border: 1px solid #010101" width="125" valign="bottom" |
bool
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Close Button Text
| style="border: 1px solid #010101" width="238" valign="bottom" |
CLOSE_BUTTON_TEXT
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Back Button Text
| style="border: 1px solid #010101" width="238" valign="bottom" |
BACK_BUTTON_TEXT
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Layout
| style="border: 1px solid #010101" width="238" valign="bottom" |
LAYOUT_ID
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
RPQ Status
| style="border: 1px solid #010101" width="238" valign="bottom" |
ANSWER_SHEET_STATUS
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
End
| style="border: 1px solid #010101" width="238" valign="bottom" |
END
| style="border: 1px solid #010101" width="125" valign="bottom" |
bool
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Dummy
| style="border: 1px solid #010101" width="238" valign="bottom" |
DUMMY
| style="border: 1px solid #010101" width="125" valign="bottom" |
bool
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Flash Width
| style="border: 1px solid #010101" width="238" valign="bottom" |
FLASH_WIDTH
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Flash Path
| style="border: 1px solid #010101" width="238" valign="bottom" |
FLASH_PATH
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Export Position
| style="border: 1px solid #010101" width="238" valign="bottom" |
EXPORT_POSITION
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Export Length
| style="border: 1px solid #010101" width="238" valign="bottom" |
EXPORT_LENGTH
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Questionnaire Required Text
| style="border: 1px solid #010101" width="238" valign="bottom" |
REQUIRED_TEXT
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Point Text
| style="border: 1px solid #010101" width="238" valign="bottom" |
POINTS_TRANSACTION_TEXT
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Count down
| style="border: 1px solid #010101" width="238" valign="bottom" |
COUNT_DOWN
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Script
| style="border: 1px solid #010101" width="238" valign="bottom" |
SCRIPT
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Reset Button Visible
| style="border: 1px solid #010101" width="238" valign="bottom" |
RESET_BUTTON_VISIBLE
| style="border: 1px solid #010101" width="125" valign="bottom" |
bool
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Reset Button Text
| style="border: 1px solid #010101" width="238" valign="bottom" |
RESET_BUTTON_TEXT
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Minimum
| style="border: 1px solid #010101" width="238" valign="bottom" |
MIN_VALUE
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Maximum
| style="border: 1px solid #010101" width="238" valign="bottom" |
MAX_VALUE
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Questionnaire Max Required Text
| style="border: 1px solid #010101" width="238" valign="bottom" |
MAX_REQUIRED_TEXT
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Questionnaire Min Required Text
| style="border: 1px solid #010101" width="238" valign="bottom" |
MIN_REQUIRED_TEXT
| style="border: 1px solid #010101" width="125" valign="bottom" |
string
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Auto Arrange Answer Options
| style="border: 1px solid #010101" width="238" valign="bottom" |
AUTO_ARRANGE_ANSWER_OPTIONS
| style="border: 1px solid #010101" width="125" valign="bottom" |
bool
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Answer Option Columns
| style="border: 1px solid #010101" width="238" valign="bottom" |
ANSWER_OPTION_COLUMNS
| style="border: 1px solid #010101" width="125" valign="bottom" |
number
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" valign="bottom" |
Answer Option Rows
| style="border: 1px solid #010101" width="238" valign="bottom" |
ANSWER_OPTION_ROWS
| style="border: 1px solid #010101" width="125" valign="bottom" |
number


''ao_value_i'': is the value of answer option ith, which is a positive integer, and must be placed at the beginning of the line. An open question must have at least 1 answer option.


''ao_property_set'': is the property set of the answer option (optional). It must contains the pre-defined properties:
{| width="657" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic"
|- valign="top" align="left"
| width="295" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |
'''Answer Option Property'''


{| class="tableintopic" style="border-collapse: collapse; border: 1px solid #010101" width="657" border="1" cellpadding="2"
| width="238" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |  
|- align="left" valign="top"
| style="border: 1px solid #010101" width="295" bgcolor="#C0C0C0" valign="bottom" |
'''Answer Option Property '''
| style="border: 1px solid #010101" width="238" bgcolor="#C0C0C0" valign="bottom" |
'''QSL Keyword'''
'''QSL Keyword'''
| style="border: 1px solid #010101" width="125" bgcolor="#C0C0C0" valign="bottom" |
 
'''QSL Type '''
| width="125" valign="bottom" bgcolor="#C0C0C0" style="border:1px solid #010101;" |  
|- align="left" valign="top"
'''QSL Type'''
| style="border: 1px solid #010101" width="295" valign="bottom" |
 
|- valign="top" align="left"
| width="295" valign="bottom" style="border:1px solid #010101;" |  
No multi
No multi
| style="border: 1px solid #010101" width="238" valign="bottom" |
 
| width="238" valign="bottom" style="border:1px solid #010101;" |  
NO_MULTI
NO_MULTI
| style="border: 1px solid #010101" width="125" valign="bottom" |
 
| width="125" valign="bottom" style="border:1px solid #010101;" |  
bool
bool


''ao_text'': is the text of the answer option.
|}
 
ao_text: is the text of the answer option.  


'''Example'''
Example  


QUESTION QOpen OPEN
QUESTION QOpen OPEN  


What musical instrument can you play?
What musical instrument can you play?  


1:Guitar
1:Guitar  


2:Piano
2:Piano  


3:Saxophone
3:Saxophone  


Back to: [[ Open ]]
[[Category:Question_Definition]]
__NOTOC__
<!-- imported from file: 5051.htm-->

Latest revision as of 10:07, 20 December 2011

Open Question

Syntax

QUESTION question_label OPEN [question_property_set]

question_text

ao_value_1:[ao_property_set] ao_text

...

ao_value_N:[ao_property_set] ao_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). It must contains the following pre-defined properties:


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 Required Text

MIN_REQUIRED_TEXT

string

Auto Arrange Answer Options

AUTO_ARRANGE_ANSWER_OPTIONS

bool

Answer Option Columns

ANSWER_OPTION_COLUMNS

number

Answer Option Rows

ANSWER_OPTION_ROWS

number

ao_value_i: is the value of answer option ith, which is a positive integer, and must be placed at the beginning of the line. An open question must have at least 1 answer option.

ao_property_set: is the property set of the answer option (optional). It must contains the pre-defined properties:


Answer Option Property

QSL Keyword

QSL Type

No multi

NO_MULTI

bool

ao_text: is the text of the answer option.

Example

QUESTION QOpen OPEN

What musical instrument can you play?

1:Guitar

2:Piano

3:Saxophone