Professional > Interview scripting > Writing interview scripts > Interview Object Model overview > Question object
 
Question object
The Question object defines the characteristics of a question. Each question object is named using its question name. Questions inherit their characteristics from the IOM and NextPage objects, but these can be overridden for individual questions. The Question properties you are most likely to use are as follows:
Property
Description
Banners
A collection of Label objects that can be used to display non-question text above the question.
Categories
A collection of categories; that is, the responses in a categorical response list.
Errors
A collection of Label objects, one for each of the standard error messages. You can use this object to replace the default messages with texts of your own, or to define the appearance of the message texts.
Label
The question text.
LayoutTemplate
The page template to use for this question only. (Other Template properties are available for specific items on a the page.)
MustAnswer
Whether respondents may leave this question unanswered (that is, click Next without entering or selecting a response).
Response
The response chosen for this question. This property is valid only with simple questions; it is not valid for questions defined in loops, blocks or other similar constructs.
Style
The Style object for the current question. You can use this to override any interview-level or page-level settings, and to set the styles of questions in loops, blocks and compound items.
See also
Interview Object Model overview