Default question template
Question templates determine the appearance of questions and their responses on an interview page. The following default question template is used if no custom question template is defined in the interview script.
<mrSubTemplate>
<mrDataQuestion Element='Error'/>
<mrDataQuestion Element='Banner'/>
<mrDataQuestion Element='Label'/>
<div>
<br/>
</div>
<mrDataQuestion Element='Controls'/>
<div>
<br/>
</div>
</mrSubTemplate>
The MRData tags specify the position of the question and responses texts on the page. During interviews, HTML code is placed around the texts to determine how those texts appear on the page. For example, for categorical responses, code is inserted to display a radio button or check box for each response, whereas for text responses an input box is displayed instead.
The general code for any question is as follows:
<span class="mrQuestionText" style="">question_text</span>
<div><br/></div>
<div></div>
<span class="mrQuestionText" style="">question_text</span>
<div style="margin-left: 2em"> <div></div>
<span style="display: inline-block;">
<table summary="" class="mrQuestionTable" style="">
response_controls
</table>
</span>
</div>
where:
▪question_text is the question text.
▪response_controls are one or more row specifications that lay out the response controls according to the response type.
Response controls
See also