New confirmation email template has been implemented and are using simplified datasets (technical term for those datasets is handlebars). Below is a list of pre-defined placeholders for data related to generic forms, and forms linked to purchases such as purchaser details, package details, booking rate details, QR Codes etc.
Implemented change is related to ASD-51350.
Dataset/Placeholder
Data Retrieved
{{FormTitle}}
Title of the submitted form
{{PackageTitle}}
Package that the form is linked to
{{PackageDate}}
Event DateTime of the linked package
{{InvoiceId}}
Invoice ID associated with the purchase of the package linked to the submitted form
{{InvoiceDate}}
Date of the Invoice associated with the purchase of the package linked to the submitted form.
{{InvoiceAmount}}
Invoice Total amount of purchase of the package linked to the submitted form
{{PayerFullName}}
Full name of the customer that has completed the purchase
{{PayerEmail}}
Email address of the customer that has completed the purchase
{{PayerPhone}}
Phone number of the customer completed the purchase
{{SubmitterFullName}}
Full name of the user that has submitted the form ( when different from the purchaser).
{{SubmitterEmail}}
Email address of the user that has submitted the form ( when different from the purchaser).
{{SubmitterPhone}}
Phone number of the user that has submitted the form ( when different from the purchaser).
{{SectionOrder}}
(Number) Sequence of the form section in the form
{{SectionTitle}}
Title of the section
{{QuestionOrder}}
(Number) Sequence of the question in the section
{{QuestionType}}
Type of the question
{{QuestionTitle}}
Title of the question
{{Response}}
Response for the question. Note that response will be shown as a link when question type = File upload.
Please use the following HTML code as a reference when creating a confirmation email.
Note 1: In order to see all sections and questions/responses for a submitted form, the datasets must be place inside a loop like the following:
Note 2: Responses ( in the code sample above) is a child object of the Sections object. Do make sure to keep the right order of the items that are being looped through