No label no label in email template

Display custom labels in ChronoForms email templates.

Overview

The issue occurs when using placeholders instead of field labels, as the email template does not retain manually entered labels if the field's label property is empty.
Ensure the field has a label value in the form setup, then use the {section/template:sectionname} shortcode in the email template to include the custom labels.

Answered
ChronoForms v6
de deltafidesign 22 Jan, 2019
I don't use labels for fields, so I leave the label field empty, I just set placeholders. Meanwhile in the email template I need to display the label of the field. So I go to Template tab and manually write the label. Example:

<tr><td width="30%" valign="top" align="right"><strong>Arrivo</strong></td><td width="70%" valign="top" align="left">{data:arrivo}</td></tr>
"Arrivo" is written by me in the template.

I disable the "Auto generate on form save" parameter and then I save&close the form. When I reopen it, correctly the "Arrivo" is still there and "Auto generate on form save" is unchecked. So I expect that the email sent show me "Arrivo", but it doesn't!

So, I tested filling the label field and this time, "Auto generate on form save" checked and tested again. In this case the email show me the label "Arrivo".
I made another test again, leaving the template as it is, just uncheking "Auto generate on form save" and emptying the label field. The email do not show "Arrivo"

I suppose that this is a bug. Can someone confirm?
he healyhatman 22 Jan, 2019
Answer
The "Template" tab has not necessarily got anything to do with the email, but you should be able to put it in to your email with the shortcode {section/template:sectionname}
This topic is locked and no more replies can be posted.