<#assign cpt=0> ${entry.CSSClass!} <@formGroup labelFor='form${entry.idEntry}' labelKey='${entry.title}' mandatory=entry.mandatory id='form${entry.idEntry}' helpKey='${entry.helpMessage}'> <#list entry.fields as field> <#if entry.fieldInLine> <#assign orientation = 'horizontal' /> <#if !field.noDisplayTitle> <#assign labelKey= field.title /> <#if field.comment?? && field.comment != ''> <#assign title = field.comment /> <#if list_responses??> <#list list_responses as response> <#if response.entry.idEntry == entry.idEntry && response.field??> <#if response.field.idField == field.idField> <#assign checked = true /> <#else> <#if field.defaultValue> <#assign checked = true /> <#if field.conditionalQuestions?exists&&field.conditionalQuestions?size!=0> <#assign params='onclick="doCheckboxEffect(this.checked,${field.idField});"' /> <@checkBox labelFor='attribute${entry.idEntry}_${field.idField}' labelKey='${field.title!}' title=field.comment! name='attribute${entry.idEntry}' id='attribute${entry.idEntry}_${field.idField}' value='${field.idField}' params=params /> <#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>${error.errorMessage}<#else>#i18n{appointment.message.mandatory.entry}
<#if str_list_entry_children?exists>${str_list_entry_children} <#if list_responses??> <#else> <#list entry.fields as field> <#if field.defaultValue && field.conditionalQuestions?exists && field.conditionalQuestions?size != 0>