Forums

field value is not present while the code of these fields (including the braces)

Fritz 25 Apr, 2014
In the sended email, the field value is not present while is specified the html code. The debugger shows the entry fields (see below) but then, in the email sended from chronoform, is to see the code of these fields (including the braces).

Data Array
Array
(
[option] => com_chronoforms5
[view] => form
[Itemid] => 109
[lang] => IT
[chronoform] => Prenotazioni
[event] => submit
[nome] => provanome
[cognome] => Pallo
[Indirizzo] => Via Indeterminata
[text9] => 2233 gghhhhhhh
[dataarrivo] => 24.04.2014
[datapartenza] => 04.06.2014
[captcha] => uFDb4
[Invio] => invio richiesta
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
[0] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:email1, email2
[2] => Subject:Prenotazione
[3] => From name:AGRITUR MONTE VELO
[4] => From email:info@agriturtorboli.it
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Body:
<table>
<tr><td>nome</td><td>provanome</td></tr>
<tr><td>cognome</td><td>Pallo</td></tr>
<tr><td>Indirizzo</td><td>Via Indeterminata</td></tr>
<tr><td>CAP e città</td><td>{CAP e città}</td></tr>
<tr><td>data arrivo</td><td>{data arrivo}</td></tr>
<tr><td>data partenza</td><td>{data partenza}</td></tr>
</table>
)
)
)
Fritz 25 Apr, 2014
Doing various tests with the form and changing the name of the fields, the html template of the e-mail settings did not update automatically.😈 In fact, the html-template reported the old name fields; wrong ones that I had changed.

To recreate this e-mail template correctly, I had to change the form theme (in the general options), so as to compel chronoform to correctly rewrite the values ​​of different variables.
GreyHead 25 Apr, 2014
Hi Fritz,

ChronoForms has never automatically updated the email template when you change the form HTML. In CFv4 you could Generate a new template by clicking a button; in CFv5 I think that you need to delete the existing template and then save the form.

Bob
Fritz 26 Apr, 2014
Yes, it's true! Before changing the html template, must always deleted before the previous template. I have not tried reloading the same template after deleting the old one. I think it works well.
This topic is locked and no more replies can be posted.