More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Property name: CG Script == | == Property name: CG Script == | ||
{| width="1019" cellspacing="0" cellpadding="2" border="0" style="border-collapse:collapse" class="tableintopic" | {| width="1019" cellspacing="0" cellpadding="2" border="0" style="border-collapse:collapse" class="tableintopic" | ||
Line 9: | Line 7: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| width="1019" colspan="2" style="border-left:1px solid #010101;border-top:1px solid #010101;border-bottom:1px solid #010101;" | | | width="1019" colspan="2" style="border-left:1px solid #010101;border-top:1px solid #010101;border-bottom:1px solid #010101;" | | ||
'''<br>''' | |||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| width="210" style="border:1px solid #010101;" | | | width="210" style="border:1px solid #010101;" | | ||
Question types applied | Question types applied | ||
| width="809" style="border:1px solid #010101;" | | | width="809" style="border:1px solid #010101;" | | ||
All | All | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| width="210" style="border:1px solid #010101;" | | | width="210" style="border:1px solid #010101;" | | ||
Description | Description | ||
| width="809" style="border:1px solid #010101;" | | | width="809" style="border:1px solid #010101;" | | ||
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. | 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" | |- align="left" valign="top" | ||
| width="210" style="border:1px solid #010101;" | | | width="210" style="border:1px solid #010101;" | | ||
Business logic | Business logic | ||
| width="809" style="border:1px solid #010101;" | | | width="809" style="border:1px solid #010101;" | | ||
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. | 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" | |- align="left" valign="top" | ||
| width="210" style="border:1px solid #010101;" | | | width="210" style="border:1px solid #010101;" | | ||
Formatting | Formatting | ||
| width="809" style="border:1px solid #010101;" | | | width="809" style="border:1px solid #010101;" | | ||
CGScript language. [[Category:CGScript| | CGScript language. To read more on CG Script [[Category:CGScript|click here]] | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| width="210" style="border:1px solid #010101;" | | | width="210" style="border:1px solid #010101;" | | ||
Screen examples | Screen examples | ||
| width="809" style="border:1px solid #010101;" | | | width="809" style="border:1px solid #010101;" | | ||
This image shows how the Questionnaire Editor looks when it has the Script text property. | This image shows how the Questionnaire Editor looks when it has the Script text property. | ||
[[Image:3368.png]]<br> | [[Image:3368.png]]<br> | ||
|} | |} | ||
[[Category:Non_language_dependent_properties]] | [[Category:Non_language_dependent_properties]] |
Revision as of 07:46, 17 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. |