<{foreach from=$qitem.htmlTag item=tag}> <{if $tag.type == 'text'}> maxlength="<{$tag.length}>"<{/if}> /> <{elseif $tag.type == 'textarea'}> <{elseif $tag.type == 'radio'}> <{elseif $tag.type == 'checkbox'}> checked="checked"<{/if}> > <{$tag.message}> <{elseif $tag.type == 'select'}> <{elseif $tag.type == 'file'}> <{elseif $tag.type == 'button' && $formmakex.config.mode != 'mobile'}> <{/if}> <{/foreach}>