<#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.formError??> <@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.formError??>
<#assign formError = response.entry.formError> <#if formError.mandatoryError>#i18n{form.message.mandatory.entry}<#else>${formError.errorMessage}
<#if entry.useRichText> <#include "/util/editor/editor.html" /> <@initEditor />