Desktop User Guides > Professional > Interview scripting > Interview scripting: Getting started > Writing a Yes/No question
 
Writing a Yes/No question
Questions that allow only a yes or no (true or false) response are known as boolean questions.
This example shows how to write a boolean question that looks like this when asked:
This graphic is described in the surrounding text.
Procedure
Enter the question name, question text, and the boolean keyword followed by a semicolon.
GetNewsletter "Click the checkbox if you would like to receive our online newsletter" boolean;
Because the question does not have a yes/no response list, only one check box is displayed. This corresponds to a Yes (or true) answer. Anyone who does not click the box is assumed to have given a No (false) answer.
Requirements
UNICOM Intelligence Professional with Interview Scripting.
Next
Writing and using a shared list
See also
Interview scripting: Getting started