<#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.error?? && response.entry.error.isDisplayableError> <#assign hasError = true>
<#assign default=getFieldValueByCode( entry, "text_config")> <#assign field_width=getFieldValueByCode( entry, "width")> <#assign field_max_size=getFieldValueByCode( entry, "max_size")>
<#list list_responses as response><#if response.entry.idEntry == entry.idEntry><#if response.toStringValueResponse??> value="${response.toStringValueResponse}"<#else> value="${default}" maxlength="${field_max_size}" class="${entry.CSSClass!} form-control" /> <#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>#i18n{appointment.message.mandatory.entry}<#else>${error.errorMessage}
<#assign confirmField=getFieldByCode( entry, "confirm_field")> <#if confirmField.value?boolean >
<#assign field=getFieldValueByCode( entry, "width")>