Forums

Mail template - Mail result

vanzini 31 May, 2018
Hallo, I am farily new to Chronoforms v6 (this kind of problem being able to edit the code does not exist on v5 - pitty this is not available on v6)
I have a simple form - Email with Auto template (entered recipient, subject and send as HTML
what I get is looks like attached

'=' placed all over and layout out of control !

I have also cancelled and recreated the form just in case - but still the same result.
GreyHead 01 Jun, 2018
Hi vanzini,

Can you copy and paste the HTML source of the email here - that might give some clues.

You can add custom HTML in the CFv6 Email action in the Body box or in the Auto Template tab - there you can set a single row in the Body section that will be repeated for each entry in the form data (at least I think that is how it works).

Bob
vanzini 04 Jun, 2018
Hi Bob,with CF v5 I used autotemplate in order to have a base that works and then made layout changes manually from there.
with CF v6 I no longer have a visible template.

if I enter my own template like following
<table>
<tr><td>Nome</td><td>{nome}</td></tr>
<tr><td>Azienda</td><td>{azienda}</td></tr>
<tr><td>Email</td><td>{email}</td></tr>
<tr><td>Telefono</td><td>{tel}</td></tr>
<tr><td>Sono interessato:</td>
<td>{sono interessato}</td></tr>
<tr><td>messaggio</td><td>{msg}</td></tr>
</table>

I get this as a result:
Nome {nome}
Azienda {azienda}
Email {email}
Telefono {tel}
Sono interessato: {sono interessato}
messaggio {msg}
Nome {nome}
Azienda {azienda}
Email {email}
Telefono {tel}
Sono interessato: {sono interessato}
messaggio {msg}
Nome {nome}
Azienda {azienda}
Email {email}
Telefono {tel}
Sono interessato: {sono interessato}
messaggio {msg}
Nome {nome}
Azienda {azienda}
Email {email}
Telefono {tel}
Sono interessato: {sono interessato}
messaggio {msg}
Nome {nome}
Azienda {azienda}
Email {email}
Telefono {tel}
Sono interessato: {sono interessato}
messaggio {msg}
Nome {nome}
Azienda {azienda}
Email {email}
Telefono {tel}
Sono interessato: {sono interessato}
messaggio {msg}
Nome {nome}
Azienda {azienda}
Email {email}
Telefono {tel}
Sono interessato: {sono interessato}
messaggio {msg}
188.218.222.199

if I leave it to Auto template I get the following:

Oggetto: Richiesta da Hosting per Aziende

Nome Nome
Azienda<= /strong> Azienda
Email rl@compsys.it
<= /tr>
Telefono 564987456124515= 4

Messaggio
messaggio messaggio =
Accons= ento al trattamento dei dati personali per le finalità
al punto A d= ell' INFORMATIVA PRIVACY
1
188.218.222.199

I hope this information is of any help to explain myself - I have all run ok with CF v5 (https://risto360.it) as well as CF v6 (https://compsys.it)

ever so grateful
GreyHead 04 Jun, 2018
Hi vanzini,

In your mail reader please view the HTML of the email and copy and paste that here.

As you can see the Auto Template > Body section repeats whatever is in there for each form entry.

Please try putting the <table> tabs in the Header and Footer boxes and just this in the Body
<tr><td>{label}</td><td>{value}</td></tr>
OR include your code in the General > Body box.

Bob
vanzini 04 Jun, 2018
ok like this the layout is ok - but the lines get repeated serveral times and most important the value only show s the label id - not the entered value itself.😟
​only with autotemplate I get this email result - this brings up the values entered only ones - but in strange way ( '=' appearing all over )

and by putting the table tabs into the General Body box - things go better somehow - showing this first line ?? followed by the labels with the values
*********************************
Nome{nome} Azienda{azienda} Email{email} Telefono{tel} Sono interessato: {sono interessato} messaggio{msg}
Nome
pppppppppppppp
Azienda
oooooooooooo
Email
rl@compsys.it
Telefono
8456184651325461
Messaggio
ttttttttttttttttttttttt
Acconsento al trattamento dei dati personali pe= r le finalità
al punto A dell' INFORMATIVA = PRIVACY
1
188.218.222.199 ************************************************
what really puzzles me is that I have a similarinstallation/s with no problems - same kind of everything including template
is there some thing that conflicts the forms ?
GreyHead 05 Jun, 2018
Hi vanzini,

Clearly something is affecting the layout but I can't tell what that is from the information posted here.

Please take a Form Backup using the icon in the Forms Manager and post it here so I can take a closer look.

Bob
vanzini 05 Jun, 2018
Hello Bob,
uploaded backup -
many many thanks in advance for looking into this for me.
This topic is locked and no more replies can be posted.