Writing a text question
A text question requires a text response. Text questions are sometimes called verbatims or open ends.
In this example, we'll write a text question that looks like this when you run the interview:
Procedure
1 Enter a name for the question. It is a good idea to choose question names that reflect the question text. This question asks for the respondent's email address so type Email as the question name:
Metadata(en-us, Question, label)
SurveyTitle "Tea Survey" info;
Email
End Metadata
2 Type a space followed by the question text enclosed in double quotation marks:
Metadata(en-us, Question, label)
SurveyTitle "Tea Survey" info;
Email "Please enter your email address."
3 Add the text keyword to specify that this is a text question.
Metadata(en-us, Question, label)
SurveyTitle "Tea Survey" info;
Email "Please enter your email address." text
End Metadata
4 To ensure a reasonable response, let's say that the response must contain between ten and 50 characters. Type the allowed response range in square brackets as shown below. End the question with a semicolon:
Metadata(en-us, Question, label)
SurveyTitle "Tea Survey" info;
Email "Please enter your email address." text [10..50];
End Metadata
5 Press F5 to run the script. When this question is displayed, you can either answer it by typing some text and then clicking Next, or you can press F5 to continue without entering an answer.
Note If you cannot enter text for a new topic, your script may still be running from the previous topic. Click the Stop button
to stop it.
Requirements
UNICOM Intelligence Professional with Interview Scripting.
Next
See also