I've created a custom_form.phtml
file, and I've place it alongside the normal form.phtml
.
In a CMS Page, I've then added this block:
{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/custom_form.phtml"}}
...but now I'd like this form to use a certain Transactional template I made accordingly, named "Custom Transactional
", and created under System > Transactional Mails.
How could I relate both the .phtml and the Transactional template with the multiple fields like {{var data.address}} {{var data.country}} {{var data.postcode}}
, etc?
Many thanks for any input.