Property name: CG Script: Difference between revisions
From Catglobe Wiki
More actions
Cg huutrung (talk | contribs) No edit summary  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
{| width="1019" cellspacing="0" cellpadding="2" border="0" class="tableintopic" style="border-collapse: collapse;"  | |||
|-  | |||
| width="210" height="0" |   | |||
| width="808" height="0" |   | |||
|- align="left" valign="top"  | |||
| width="1019" colspan="2" |   | |||
== '''Property name: CG Script''' ==  | |||
|- align="left" valign="top"  | |||
| width="210" style="border: 1px solid rgb(1, 1, 1);" |   | |||
Question types applied  | |||
| width="809" style="border: 1px solid rgb(1, 1, 1);" |   | |||
All  | |||
|- align="left" valign="top"  | |||
| width="210" style="border: 1px solid rgb(1, 1, 1);" |   | |||
Description  | |||
| width="809" style="border: 1px solid rgb(1, 1, 1);" |   | |||
This is the place where the script can be executed. When the respondent reaches a question, the script in this question will be executed first.  | |||
|- align="left" valign="top"  | |||
| width="210" style="border: 1px solid rgb(1, 1, 1);" |   | |||
Business logic  | |||
| width="809" style="border: 1px solid rgb(1, 1, 1);" |   | |||
CG Script will be executed on the server. The question from where it is executed can be used to store the value calculated in the script.  | |||
|- align="left" valign="top"  | |||
| width="210" style="border: 1px solid rgb(1, 1, 1);" |   | |||
Formatting  | |||
| width="809" style="border: 1px solid rgb(1, 1, 1);" |   | |||
CGScript language [[Category:CGScript|Click here]] to read more on CG Script.  | |||
|- align="left" valign="top"  | |||
| width="210" style="border: 1px solid rgb(1, 1, 1);" |   | |||
Screen examples  | |||
| width="809" style="border: 1px solid rgb(1, 1, 1);" |   | |||
[[Category:  | This image shows how the Questionnaire Editor looks when it has the Script text property.  | ||
[[Image:3368.png]]  | |||
|}  | |||
[[Category:Non_language_dependent_properties]]  | |||
Revision as of 06:28, 6 February 2012
Property name: CG Script | |
| 
 Question types applied  | 
 All  | 
| 
 Description  | 
 This is the place where the script can be executed. When the respondent reaches a question, the script in this question will be executed first.  | 
| 
 Business logic  | 
 CG Script will be executed on the server. The question from where it is executed can be used to store the value calculated in the script.  | 
| 
 Formatting  | 
 CGScript language to read more on CG Script.  | 
| 
 Screen examples  | 
 This image shows how the Questionnaire Editor looks when it has the Script text property.  | 
				