<#assign field_width=getFieldValueByCode( entry, "width") /> <#assign field_height=getFieldValueByCode( entry, "height") /> <#assign idName = buildEntryName( entry, entry_iteration_number ) /> <#assign field_richtext=getFieldValueByCode( entry, "richtext") /> <#assign richtext = false /> <#if field_richtext == 'true'> <#assign richtext = true /> <#if list_responses?? && list_responses?has_content> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.toStringValueResponse??> <#if response.entry.error??> <#assign groupStyle = 'error' /> <#assign responseContent = response.toStringValueResponse /> <#else> <#assign field = getFieldByCode(entry, "text_config") /> <#if field.value?exists> <#assign responseContent=field.value /> <#else> <#assign responseContent='' /> <#assign idName = buildEntryName( entry, entry_iteration_number ) /> <@formGroup labelFor='${idName}' labelKey='${entry.title}' helpKey=entry.helpMessage!'' groupStyle=groupStyle!'' mandatory=entry.mandatory> <#assign placeholder = getFieldValueByCode(entry, "placeholder") > <@input type='textarea' name='${idName}' id='${idName}' cols=field_width?number rows=field_height?number class='${entry.CSSClass!}' richtext=richtext placeHolder=placeholder>${responseContent} <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.error?? && response.entry.error.isDisplayableError> <@alert color='danger'> <#assign error = response.entry.error> <#if error.mandatoryError>#i18n{forms.message.mandatory.entry}<#else>${error.errorMessage} <#if richtext> <#include "/util/editor/editor.html" /> <@initEditor />