<div  id="%%NAME%%" class="field %%COLUMNS%% integer %%REQUIRED%%">
  <label class="legend">%%LEGEND%%</label>
  <input %%READONLY%% %%REQUIRED%% onkeyup="onlyInteger(this);" type="text" name="%%NAME%%" id="%%NAME%%" value="%%VAL%%">
</div>