#macro getTextAreaContent responseContent has_error entry field>
<#assign idName = 'attribute' + entry.idEntry>
<#if entry_iteration_number?has_content && entry_iteration_number gt 0>
<#assign idName = 'nIt' + entry_iteration_number + '_attribute' + entry.idEntry>
#if>
<#if has_error>
<#else>
#if>
#macro>
<#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{forms.message.mandatory.entry}<#else>${error.errorMessage}#if>
#if>
#list>
#if>
<#if entry.fieldInLine>
<#include "/util/editor/editor.html" />
<@initEditor />
#if>