<#macro getTextAreaContent responseContent entry field> <#-- 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>
<#list entry.fields as field> <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.toStringValueResponse??> <@getTextAreaContent responseContent=response.toStringValueResponse entry=entry field=field/> <#else> <#if field.value?exists> <@getTextAreaContent responseContent=field.value entry=entry field=field/> <#else> <@getTextAreaContent responseContent="" 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 />