Email template

Permalink Browser Info Environment
Hi there,

I'm a bit stuck with email templates - do we absolutely have to keep the table?

I want to include values in line with text to send an email to the submitter and the only thing I manage to get is an empty email when using a div instead of a table... I tried using the attributes from this page in a divhttp://www.sixeightmedia.net/formify/placeholder-reference/... but it didn't work, and I tried the one in the original "details" template which didn't work either.

Anyone can help? Maybe posting an example of a non table based template?

Let's say I want something like this:

Dear {{first-name}},

Thank you for your request, a member of our admin team will be in touch with you shortly to arrange an appointment.
If you have not given permission for us to leave an answerphone message on the telephone number(s) provided and you have not heard from us after one week of completing this form, please contact the appropriate service.

This is the information you provided:
First Name: {{ First-Name }}
Surname: {{ Surname }}
Gender: {{ Gender }}
Your referral letter: {{letter}} <- I would need to see a link to the upload file there


How do I do that?

Sorry, it surely is something really easy and simple but my knowledge and experience with coding is fairly basic.

Many thanks!

Clem

Type: Pre-Sale
Status: In Progress
chergas
View Replies:
PhilYoung replied on at Permalink Reply 1 Attachment
PhilYoung
Hi,
You don't need to use tables. The only thing that struck me when I looked at your template code is that you may not actually be using the field handle when you reference it in the template. I just created a form and the notification code as below

Hello {{ field-88 }} <br />
Hi you said you are: {{ field-112 }}


I left the field handle as the default when creating the field. You appear to be using the field name not the handle. See attached graphic. You can change the field handle to match the field label if you wish - it needs to be lower case and use hyphens instead of blank space.

Best
Phil
chergas replied on at Permalink Reply
chergas
Hi Phil,

Thanks for your help - I've changed all field handles to lower-case only and it works :)

Sorry about this - our old CMS seemed not to be bothered by caps in handle and I never thought Formify didn't like it.

Many thanks,

Clem

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.7
Version Installed - 5.7.5.7

# concrete5 Packages
Formify (2.6.4)

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.