<@cTpl> <#if !entry.onlyDisplayInBack || is_completeness_bo> <#if getError( list_responses, entry )?? > <#assign error = getError( list_responses, entry ) > <#if getResponse( list_responses, entry )?? > <#assign response = getResponse( list_responses, entry ) > <#assign idName = buildEntryName( entry, entry_iteration_number )> <#assign fLabel>${entry.title}<#if entry.mandatory>*
<#assign placeholder = getFieldValueByCode(entry, "placeholder") > <#assign field = getFieldByCode( entry, "autocomplete" ) > <#assign mandatoryMsg> <#if entry.errorMessage?has_content> ${entry.errorMessage} <#else> #i18n{forms.message.mandatory.entry} required class="form-control input-sm ${entry.CSSClass!}<#if error??> is-invalid" value="${(response.toStringValueResponse)!}"<#if field??>autocomplete="${field.value!}"<#if placeholder!=''> placeholder='${placeholder}' oninvalid="this.setCustomValidity('${mandatoryMsg?js_string}')" oninput="this.setCustomValidity('')"> <#if entry.helpMessage?exists&&entry.helpMessage!=''> ${entry.helpMessage} <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.error?? && response.entry.error.isDisplayableError> <#assign error = response.entry.error> <#if error.mandatoryError> <#if entry.errorMessage?? && entry.errorMessage!=""> ${entry.errorMessage} <#else> #i18n{forms.message.mandatory.entry} <#else> ${error.errorMessage}