Forums

CF6 Dynamic values email

lifecolor 22 Mar, 2018
Hello.
I have a problem.
I would like to send an email with a header, the values entered in the form dynamically (only those selected) and a footer with the contacts.

If I put in "General"
- Auto add fields data
- body (header)
I miss the possibility of inserting a footer

If I put in "Auto template"
- header
- footer
- body (null)
In the email all fields are shown even those not evaluated.
Furthermore, all are written on the same line and not in the table view.

How can I do?
Life Color Communication srl
Max_admin 29 Mar, 2018
Hi lifecolor,

Do not use the "Auto template", you can insert {AUTO_FIELDS} in the email body and place your header before it and the footer under it.

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
lifecolor 03 Apr, 2018
Sorry, but I don't understand.

In the window Submit - email - General
Active - Auto add fields data
Body null
send as HTML
Active Apply advanced template parsing and styles
Active Auto Attach file fields

In the window Submit - email - Auto template
header - <div>this is the header</div>
body null
footer - <div></div>this is the header

In this way .. in the email I have:
this is the header
label value label value ... but all in the same line.. i would like to see it as in a table
this is the header
Life Color Communication srl
GreyHead 03 Apr, 2018
Hi lifecolor ,

Please try putting {AUTO_FIELDS} in the Email Body.

Bob
Max_admin 04 Apr, 2018
Hi,

The way to do it is to clear the "Auto template" section, then under General > Body:
header - <div>this is the header</div>
{AUTO_FIELDS}
footer - <div>footer here</div>
Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.