janb wrote:
Hi
Can you export (XML) the form and post it so we can have a closer look at it?
JanB
As requested, i've changed the email address in the xml file to protect privacy
{$fb_submission_error}
{if isset($fb_show_submission_errors) && $fb_show_submission_errors}
{foreach from=$fb_submission_error_list item=thisErr}
{$thisErr}
{/foreach}
{/if}
{/if}
{else}
{* this section is for displaying the form *}
{* we start with validation errors *}
{if isset($fb_form_has_validation_errors) && $fb_form_has_validation_errors}
{foreach from=$fb_form_validation_errors item=thisErr}
{$thisErr}
{/foreach}
{/if}
{if isset($captcha_error) && $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}
{strip}
{if $entry->needs_div == 1}
required == 1 || $entry->css_class != '' || $entry->valid == 0} class="
{if $entry->required == 1}required{/if}
{if $entry->css_class != ''} {$entry->css_class}{/if}
{if $entry->valid == 0} fb_invalid{/if}
"
{/if}
>
{/if}
{if $entry->hide_name == 0}
multiple_parts != 1} for="{$entry->input_id}"{/if}>{$entry->name}
{if $entry->required_symbol != ''}
{$entry->required_symbol}
{/if}
{/if}
{if $entry->multiple_parts == 1}
{section name=numloop loop=$entry->input}
{if $entry->label_parts == 1}
{$entry->input[numloop]->input} {$entry->input[numloop]->name}
{else}
{$entry->input[numloop]->input}
{/if}
{if isset($entry->input[numloop]->op) && $entry->input[numloop]->op}{$entry->input[numloop]->op}{/if}
{/section}
{else}
{if $entry->smarty_eval == '1'}{eval var=$entry->input}{else}{$entry->input}{/if}
{/if}
{if $entry->valid == 0} <--- {$entry->error}{/if}
{if $entry->needs_div == 1}
{/if}
{/strip}
{/if}
{/foreach}
{if $has_captcha == 1}
{$graphic_captcha}{$title_captcha}
{$input_captcha}
{/if}
{$prev}{$submit}
{$fb_form_end}
{/if}
{$fb_form_footer}]]>
Thank you, {$your_name}.
Your submission has been successful. You may wish to print this page as a reference.
Contact Details
Name: {$your_name}
Email: {$your_email_address}
Feedback Details
Subject: {$subject}
Comments:
{$message}
Other information
Date of Submission: {$sub_date}
Form Name: {$sub_form_name}
URL of page containing form: {$sub_url}
Domain: {$sub_host}
Your IP address: {$sub_source_ip}
]]>
FormBuilder Submission
Form Name: {$sub_form_name}
Date of Submission: {$sub_date}
Your server: {$sub_host}
IP address of person using form: {$sub_source_ip}
URL of page containing form: {$sub_url}
FormBuilder version: {$fb_version}
Tab Character: {$TAB}
{if $fld_59 != "" && $fld_59 != "[unspecified]" }Your Name: {$fld_59}
{/if}
{if $fld_60 != "" && $fld_60 != "[unspecified]" }Email Again: {$fld_60}
{/if}
{if $fld_61 != "" && $fld_61 != "[unspecified]" }Subject: {$fld_61}
{/if}
{if $message != "" && $message != "[unspecified]" }Message: {$message}
{/if}
{if $fld_63 != "" && $fld_63 != "[unspecified]" }Send To: {$fld_63}
{/if}
]]>