Open

From Catglobe Wiki
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;