<#macro getTextAreaContent responseContent has_error entry field> <#if has_error> <#else>
<#list entry.fields as field> <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.toStringValueResponse??> <#if response.entry.error??> <@getTextAreaContent responseContent=response.toStringValueResponse has_error=true entry=entry field=field/> <#else> <@getTextAreaContent responseContent=response.toStringValueResponse has_error=false entry=entry field=field/> <#else> <#if field.value?exists> <@getTextAreaContent responseContent=field.value has_error=false entry=entry field=field/> <#else> <@getTextAreaContent responseContent="" has_error=false entry=entry field=field/> <#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}
<#if entry.fieldInLine> <#include "/util/editor/editor.html" /> <@initEditor />