<#macro getTextAreaContent responseContent entry> <#assign field_width=getFieldByCode( entry, "width")> <#assign field_height=getFieldByCode( entry, "height")> <@input type='textarea' name='attribute${entry.idEntry}' id='attribute${entry.idEntry}' cols=field_width.value rows=field_height.value class='${entry.CSSClass!}' richtext=entry.fieldInLine>${responseContent} <@formGroup labelFor='attribute${entry.idEntry}' labelKey='${entry.title}' helpKey='${entry.helpMessage!}' mandatory=entry.mandatory> <#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 list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.error?? && response.entry.error.isDisplayableError> <@alert class='danger' params='style="margin-top:10px;"'> <#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 />