<#macro getTextAreaContent responseContent entry> <#assign field_width=getFieldByCode( entry, "width")> <#assign field_height=getFieldByCode( entry, "height")> <#-- fieldInLine means use rich text --> <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.error?? && response.entry.error.isDisplayableError> <#assign hasError = true>
<#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.toStringValueResponse??> <@getTextAreaContent responseContent=response.toStringValueResponse entry=entry/> <#else> <#assign default=getFieldValueByCode( entry, "text_config")> <@getTextAreaContent responseContent=default entry=entry /> <#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 />