{* TABLE FORM LAYOUT / Field titles on Top *} {* next line sets number of columns for things like checkbox groups *} {assign var="cols" value="3"} {literal} {/literal} {$fb_form_header} {if $fb_form_done == 1} {* This first section is for displaying submission errors *} {if $fb_submission_error}
{$fb_submission_error}
{if $fb_show_submission_errors} {foreach from=$fb_submission_error_list item=thisErr} {/foreach}
{$thisErr}
{/if} {/if} {else} {* this section is for displaying the form *} {* we start with validation errors *} {if $fb_form_has_validation_errors}
Nem töltöttél ki minden mezőt! Kérjük, hogy a megjelölt mezőket is töltsd ki. {**}
{/if} {if $captcha_error}
{$captcha_error}
{/if} {* and now the form itself *} {$fb_form_start}
{$fb_hidden}
{if $total_pages gt 1}{$title_page_x_of_y}{/if} {foreach from=$fields item=entry} {if $entry->display == 1 && $entry->type != '-Fieldset Start' && $entry->type != '-Fieldset End' } {strip} required == 1 || $entry->css_class != ''} class=" {if $entry->required == 1} required {/if} {if $entry->required == 1 && $entry->css_class != ''} {/if} {if $entry->css_class != ''} {$entry->css_class} {/if} " {/if} > {if $entry->hide_name == 0} {$entry->name} {if $entry->required_symbol != ''} {$entry->required_symbol} {/if} {/if} css_class != ''} class="{$entry->css_class}"{/if}> {if $entry->multiple_parts == 1} {section name=numloop loop=$entry->input} {if not ($smarty.section.numloop.rownum mod $cols)} {if not $smarty.section.numloop.last} {/if} {/if} {if $smarty.section.numloop.last} {math equation = "n - a % n" n=$cols a=$entry->input|@count assign="cells"} {if $cells ne $cols} {section name=pad loop=$cells} {/section} {/if} {/if} {/section}
{$entry->input[numloop]->input} {$entry->input[numloop]->name}{if $entry->input[numloop]->op} {$entry->input[numloop]->op}{/if}
 
{else} {if $entry->smarty_eval == '1'}{eval var=$entry->input}{else}{$entry->input}{/if} {/if} {if $entry->valid == 0} <--- {$entry->error}{/if} {if $entry->helptext != ''} Help {/if} {/strip} {/if} {/foreach} {if $has_captcha == 1} {$graphic_captcha}{$input_captcha}
{$title_captcha} {/if} {$prev}{$submit} {$fb_form_end} {/if} {$fb_form_footer}