Open

From Catglobe Wiki
Revision as of 09:22, 14 December 2011 by Cg pham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Open

An identifier with string type is created for each Open question. It contains the text entered by the respondent. However, it is slightly different from other normal string variables: it can be used with answer option index as indexes as well.

Example

5705.jpg

if (!Q7[0])

mailBody = mailBody + "Comments: " + Q7;

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

Example

Q7 = "";

Q7[0] = true;