<#assign field = getFieldByCode( entry, "default_date_value" ) > <#if field.valueTypeDate?exists> <#assign value = field.valueTypeDate /> <#else> <#assign value = '' /> <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry> <#if response.entry.error??> <#assign class = 'has-error' /> <#if response.responseValue??> <#assign value = response.responseValue?number?number_to_date?string("dd/MM/yyyy") /> <@formGroup labelFor='attribute${entry.idEntry}' labelKey='${entry.title}' helpKey='${entry.helpMessage!}' class=class mandatory=entry.mandatory> <#assign field = getFieldByCode( entry, "default_date_value" ) > <@inputGroup> <@input type='text' name='attribute${entry.idEntry}' id='attribute${entry.idEntry}' value=value class='${entry.CSSClass!}' /> <@inputGroupItem type='text'> <@icon style='calendar' /> <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.entry.error?? && response.entry.error.isDisplayableError> <@alert class='danger'> <#assign error = response.entry.error> <#if error.mandatoryError>${error.errorMessage}<#else>#i18n{appointment.message.mandatory.entry} <@getDatePickerBootstrap idField="attribute${entry.idEntry}" language=locale />