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="Ref" class="mrEdit" autocomplete="off"
      style="margin-left: 1em;" rows="NumRows"
      cols="NumCols">[Answer]</textarea>
</span>
where:
Ref is the internal name that UNICOM Intelligence Interviewer - Server assigns to the text box. This has the form _Qqname, where qname is the question name.
NumRows is the height of the text box. The default is 6.
NumCols is the width of the text 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