Desktop User Guides > Professional > Interview scripting > Interview scripting reference > Template XML schema > mrData Element
 
mrData Element
Insertion marker for questions
Attributes for mrData
AutoComplete
Controls whether auto-completion is enabled for the question. This is an IE specific feature and by default is disabled.
Use: optional
Valid values: boolean
Index
Description: The Index of the question to be inserted. If the Index and QuestionName is not supplied, all unreferenced questions are inserted here.
Use: optional
Valid values: positiveInteger
InterviewMode
The interview mode for the interview.
Use: optional
Valid values: string
ProgressPercent
The estimated interview progress, as a percentage.
Use: optional
Valid values: positiveInteger
Name
The Name of the question banner to be inserted.
Use: optional
Valid values: string
QuestionElement
The question element to be inserted at this tag. If the question element is not specified, all of the question elements are inserted at this tag.
Use: optional
Valid values:
Value
Description
Error
The data tag indicates the insertion point for the error text.
Label
The data tag indicates the insertion point for the label text.
Controls
The data tag indicates the insertion point for the question controls.
Banner
The data tag indicates the insertion point for the question banners.
Parameter
 
QuestionName
The QuestionName of the question to be inserted. If the Index and QuestionName is not supplied, all unreferenced questions are inserted here.
Use: optional
Valid values: string
RespondentID
The interview’s respondent ID.
Use: optional
Valid values: string
RespondentSerial
The interview's serial number.
Use: optional
Valid values: string
ShowErrors
Controls what errors are shown.
Use: optional
Valid values:
Value
Description
All
Display all errors
TopMost
Display top level errors only
BottomMost
Display bottom level errors only
TopAndBottomMost
Display top and bottom level errors
Type
Use: optional
Valid values: QuestionName, FullQuestionName, Min, Max, ImageLocation, Id, Value
XML representation
<xs:element name="mrData">
  <xs:attribute name="Index" type="xs:positiveInteger" use="optional"/>
  <xs:attribute name="InterviewMode" type="xs:string" use="optional"/>
  <xs:attribute name="ProgressPercent" type="xs:positiveInteger" use="optional"/>
  <xs:attribute name="QuestionName" type="xs:string" use="optional"/>
  <xs:attribute name="QuestionElement" type="QuestionElementTypes" use="optional">
    <xs:enumeration value="Error"/>
    <xs:enumeration value="Label"/>
    <xs:enumeration value="Controls"/>
    <xs:enumeration value="Banner"/>
    <xs:enumeration value="Parameter"/>
  </xs:attribute>
  <xs:attribute name="RespondentID" type="xs:string" use="optional"/>
  <xs:attribute name="RespondentSerial" type="xs:string" use="optional"/>
  <xs:attribute name="Name" type="xs:string" use="optional"/>
  <xs:attribute name="Type" type="ParameterTypes" use="optional">
    <xs:enumeration value="QuestionName"/>
    <xs:enumeration value="FullQuestionName"/>
    <xs:enumeration value="Min"/>
    <xs:enumeration value="Max"/>
    <xs:enumeration value="ImageLocation"/>
    <xs:enumeration value="Id"/>
    <xs:enumeration value="Value"/>
  </xs:attribute>
  <xs:attribute name="AutoComplete" type="xs:boolean" use="optional" default="true"/>
  <xs:attribute name="ShowErrors" type="ShowErrorsTypes" use="optional" default="BottomMost">
    <xs:enumeration value="All"/>
    <xs:enumeration value="TopMost"/>
    <xs:enumeration value="BottomMost"/>
    <xs:enumeration value="TopAndBottomMost"/>
  </xs:attribute>
</xs:element>
See also
Template XML schema