[SOLVED] Problem about form submission report and attached file.
Posted: Wed Dec 12, 2007 4:48 pm
I am trying to modify a form submission template, because there is an annoying m5fbrp__25 mention if there is not any attached file.
I.E.:
Complete name: Mlle testeuse
Entreprise: neneapas
email: contact@test.com
Message: test 29
Attached file: m5fbrp__25
Do you see something wrong in my code?: (ok, i just have found... what was wrong..)
Here is the good code, working well:
Replace Attached file: {$fld_25}
with: Attached file:
{if $fld_25 == m5fbrp__25}
no attached file
{else}
{$fld_25}
{/if}
I.E.:
Complete name: Mlle testeuse
Entreprise: neneapas
email: contact@test.com
Message: test 29
Attached file: m5fbrp__25
Do you see something wrong in my code?: (ok, i just have found... what was wrong..)
Here is the good code, working well:
Replace Attached file: {$fld_25}
with: Attached file:
{if $fld_25 == m5fbrp__25}
no attached file
{else}
{$fld_25}
{/if}