Question element
The definition of a question in a page or a sub-question.
Attributes for Question
BannerTemplate
Use: optional
Valid values: string
ErrorTemplate
Use: optional
Valid values: string
LayoutTemplate
Use: optional
Valid values: string
MustAnswer
Use: optional
Valid values: boolean
NavBarTemplate
Use: optional
Valid values: string
QuestionDataType
Use: optional
Valid values: None, Long, Text, Categorical, Object, Date, Double, Boolean, Level
QuestionFullName
Use: optional
Valid values: string
QuestionName
Use: required
Valid values: string
QuestionTemplate
Use: optional
Valid values: string
QuestionType
Use: optional
Valid values: Simple, LoopCategorical, LoopNumeric, Compound, Block, Page, Derived
XML representation
<xsd:element name="Question">
<xsd:sequence minOccurs="0">
<xsd:element ref="Style" minOccurs="0"/>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="Label" type="Label" minOccurs="0">
<xsd:sequence minOccurs="0">
<xsd:element ref="Style" minOccurs="0"/>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="Text" minOccurs="0"/>
</xsd:sequence>
</xsd:element>
<xsd:element name="Error" minOccurs="0" maxOccurs="unbounded">
<xsd:sequence minOccurs="0">
<xsd:element ref="Style" minOccurs="0"/>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="Text" minOccurs="0"/>
</xsd:sequence>
</xsd:element>
<xsd:element name="Banner" type="Label" minOccurs="0" maxOccurs="unbounded">
<xsd:sequence minOccurs="0">
<xsd:element ref="Style" minOccurs="0"/>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="Text" minOccurs="0"/>
</xsd:sequence>
</xsd:element>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="Category"/>
<xsd:element ref="Question"/>
</xsd:choice>
<xsd:element ref="Property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="Validation" minOccurs="0"/>
<xsd:element name="Codes" minOccurs="0">
<xsd:sequence>
<xsd:element ref="Category" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:element>
<xsd:element ref="Response" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="QuestionName" type="xsd:string" use="required"/>
<xsd:attribute name="QuestionFullName" type="xsd:string" use="optional"/>
<xsd:attribute name="QuestionType" type="QuestionTypes" use="optional">
<xsd:enumeration value="Simple"/>
<xsd:enumeration value="LoopCategorical"/>
<xsd:enumeration value="LoopNumeric"/>
<xsd:enumeration value="Compound"/>
<xsd:enumeration value="Block"/>
<xsd:enumeration value="Page"/>
<xsd:enumeration value="Derived"/>
</xsd:attribute>
<xsd:attribute name="QuestionDataType" type="QuestionDataTypes" use="optional">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Long"/>
<xsd:enumeration value="Text"/>
<xsd:enumeration value="Categorical"/>
<xsd:enumeration value="Object"/>
<xsd:enumeration value="Date"/>
<xsd:enumeration value="Double"/>
<xsd:enumeration value="Boolean"/>
<xsd:enumeration value="Level"/>
</xsd:attribute>
<xsd:attribute name="LayoutTemplate" type="xsd:string" use="optional"/>
<xsd:attribute name="QuestionTemplate" type="xsd:string" use="optional"/>
<xsd:attribute name="NavBarTemplate" type="xsd:string" use="optional"/>
<xsd:attribute name="ErrorTemplate" type="xsd:string" use="optional"/>
<xsd:attribute name="BannerTemplate" type="xsd:string" use="optional"/>
<xsd:attribute name="MustAnswer" type="xsd:boolean" use="optional" default="false"/>
</xsd:element>
Child elements
Banner, Category, Codes, Error, Label, Property, Question, Response, Style, Validation
Related elements
Banner, Banner, Category, Label, Label, Label, Navigation, Question, Title
See
See also