Back to Custom Forms Support

redmustachedesign62931
redmustachedesign62931

How can I use custom fields name in my mail template like:

{{form.title}} - (this one works fine) Name: {{field.name 'custom_field_name'}} E-mail: {{field.name 'custom_field_name'}}

Something like that. Its possible?

abwebdevelopers
abwebdevelopers

Hi, I don't believe this syntax is available. You should be able to utilise the events that the component fires to inject custom mail variables. Or you could extend CustomForms component with your own class and override it that way.

Alternatively, you could always open a PR to add such feature

1-2 of 2