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.

Text: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
Cg_pham (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
[[Category:Question_Identifier]]

{{HelpFiles}}
== Headline text ==


===Text===
Text


An identifier with string type is created for each Text question, its value is the value entered by the respondent.
Syntax : IF EXPRESSION (REPLACE STRING WITH STRING)+


'''Example'''
Position : Right after question type and before question properties ( if it existed )


''personalInfo = personalInfo + "Name: " + Name;''
This condition support all question type


''personalInfo = personalInfo + "Email: " + Email;''
Example:


Value can be assigned to the question by assigning a string to the question identifier.
QUESTION testPage PAGE


'''Example'''
IF (anotherQuestion == 1) REPLACE "Greeting" WITH "Hello" REPLACE "guest" WITH "Questionnaire team"


''Name = "Michael Rangstrup";''
IF (anotherQuestion == 2) REPLACE "Greeting" WITH "Hello" REPLACE "guest" WITH "Data team"


''Email = "[email protected]";''
Greeting guest
__NOTOC__
__NOTOC__
<!-- imported from file: 5700.htm-->
<!-- imported from file: 7575.htm-->

Latest revision as of 07:27, 14 December 2011


== Headline text ==

Text

Syntax : IF EXPRESSION (REPLACE STRING WITH STRING)+

Position : Right after question type and before question properties ( if it existed )

This condition support all question type

Example:

QUESTION testPage PAGE

IF (anotherQuestion == 1) REPLACE "Greeting" WITH "Hello" REPLACE "guest" WITH "Questionnaire team"

IF (anotherQuestion == 2) REPLACE "Greeting" WITH "Hello" REPLACE "guest" WITH "Data team"

Greeting guest