[%if $FIELD.TYPE == "text" && ! $IGNORE_TEXT%] 0 %] maxlength="[%$FIELD.LENGTH%]" [%/if%][%if $FIELD.LENGTH > 2000%]cols="30" rows="3"[%/if%]>[%$FIELDVALUE%] [%elseif $FIELD.TYPE == "boolean"%] [%elseif $FIELD.TYPE == "select"%]
[%elseif $FIELD.TYPE == "time"%] [%if $IS_SEARCH %] [%html_select_date start_year="-5" end_year="+5" prefix=$FIELDPREFIX|cat:$FIELDNAME|cat:"_START_" time=$FIELDVALUE month_format="%m" field_order="DMY" use_24_hours=true%] – [%html_select_date start_year="-5" end_year="+5" prefix=$FIELDPREFIX|cat:$FIELDNAME|cat:"_END_" time=$FIELDVALUE month_format="%m" field_order="DMY" use_24_hours=true%] [%elseif $FIELDVALUE || $FIELD.REQUIRED !== "AUTO" %] [%html_select_date start_year="-5" end_year="+5" prefix=$FIELDPREFIX|cat:$FIELDNAME|cat:"_" time=$FIELDVALUE month_format="%m" field_order="DMY" use_24_hours=true%] [%else%] [%$FIELDVALUE|date%] [%/if%] [%else%] [%/if%]