Desktop User Guides > Professional > Interview scripting > Interview scripting reference > Default templates > Default question template > Numeric and date/time responses
Numeric and date/time responses
The HTML code for a numeric (long or double) or date/time response is:
<span style="display: inline-block;">
  <input type="text" name="Ref" class="mrEdit" autocomplete="off"
      style="margin-left: 1em;" maxlength="Number"
Ref is the internal name that UNICOM Intelligence Interviewer - Server assigns to the input box. This has the form _Qqname, where qname is the question name.
Number is the maximum number of characters that can be entered for the response. For numeric responses, this is determined by the maximum value defined in the question's metadata; it is always 40 for date/time responses.
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:
Age "How old are you?" long [18..99];
<span class="mrQuestionText" style="">How old are you?</span>
<span style="display: inline-block;">
      <input type="text" name="_QAge" class="mrEdit"
          autocomplete="off" style="margin-left: 1em;"
          maxlength="2" value=""/>
See also
Default question template