<% if( object.behaviour != 'invisible' ) { %>
<% if( object.label != '' ) { %><% } %><% if( object.iconbefore != '' || object.textbefore != '' || object.iconafter != '' || object.textafter != '' ) { %>
<% } %><% if( object.textbefore != '' || object.iconbefore != '' ) { %>$textbefore<% } %>required="true"<% } %> class="<% if( object.total == 'yes' ) { %>total<% } %> form-control input-$type <%= window.fbver == 1 || window._design || object.isValid() ? '' : 'is-invalid' %> <% if( object.type == 'date' ) { %> daterange-single<% } %>" style="$inputstyle" name="field__<% if( !object.behaviour || object.behaviour != 'transient' ) { %><%= _options.nameprefix %><% } %>$id<%= _options.sufix %>" value="$value" placeholder="$help" data-width="$width" data-mask="$mask" <% if( object.calc && object.calc != '' ) { %>calc="true"<% } %> <% if( object.calc_dependants && object.calc_dependants.trim() != '' ) { %>calc-dependants="$calc_dependants"<% } %> <% if( object.datasource_dependants ) { %>ds-dependants="$datasource_dependants"<% } %> <% if( stringlistuniqueconcat(object.visiblecondition_dependants,object.accesscondition_dependants) != '' ) { %>show-dependants="<%= stringlistuniqueconcat(object.visiblecondition_dependants,object.accesscondition_dependants) %>"<% } %> onchange="fbdispatch(this, 'change')" oninput="fbdispatch(this, 'input')" onpaste="fbdispatch(this, 'paste')" <% if( object.accesscondition == 'false' || object.behaviour == 'readonly' ) { %>disabled<% } %>><% if( window.fbver > 1 && !window._design && !object.isValid() ) { %>
<%= (window.fbver == 1 || window._design) ? '' : object.makevalidation() %>
<% } %><% if( object.textafter != '' ) { %>$textafter<% } %><% if( object.iconbefore != '' || object.textbefore != '' || object.iconafter != '' || object.textafter != '' ) { %>
<% } %>$comments
<% } %><% if( object.behaviour == 'invisible' ) { %><% } %>