Desktop User Guides > Professional > Interview scripting > Interview scripting reference > Default templates > Default question template > Text responses
 
Text responses
The HTML code for a text response is:
<span style="display: inline-block;">
  <div></div>
  <textarea name="reference" class="mrEdit" autocomplete="off"
      style="margin-left: 1em;" rows="number_of_rows"
      cols="number_of_columns">[answer]</textarea>
</span>
where:
reference is the internal name that UNICOM Intelligence Interviewer - Server assigns to the box. This has the form _Qquestion_name, where question_name is the question name.
number_of_rows is the height of the box. The default is 6.
number_of_columns is the width of the box. The default is 40 characters.
answer is the respondent's answer. This is present only after a snapback or restart and causes the current answer to be displayed in the input box.
For example:
IdealTea "Please describe your ideal cup of tea."
text [0..1024];
becomes:
<span class="mrQuestionText" style="">Please describe your ideal cup of tea.</span>
<div><br/></div>
<div></div>
<span style="display: inline-block;">
<div></div>
  <textarea name="_QIdealTea" class="mrEdit" autocomplete="off"
      style="margin-left: 1em;" rows="6" cols="40"></textarea>
</span>
See also
Default question template