Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
i'm using umbraco forms 10, is there a way where I can only display certain fields in an email template that gets sent out?
E.g
The email would be like
Hello {Name}
Thank you for applying for {CourseName}
Thanks
Hi Matt
Yes, you can I believe create a partial view for your email template and it gets sent the fields from the form so you can customise accordingly with razor.
There is an example here in the docs
https://docs.umbraco.com/umbraco-forms/v/10.latest-lts-2/developer/email-templates
(although some of the syntax in the example is out of date, it hopefully gives you the gist)
Regards
Marc
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Umbraco forms email template
Hi,
i'm using umbraco forms 10, is there a way where I can only display certain fields in an email template that gets sent out?
E.g
The email would be like
Hello {Name}
Thank you for applying for {CourseName}
Thanks
Hi Matt
Yes, you can I believe create a partial view for your email template and it gets sent the fields from the form so you can customise accordingly with razor.
There is an example here in the docs
https://docs.umbraco.com/umbraco-forms/v/10.latest-lts-2/developer/email-templates
(although some of the syntax in the example is out of date, it hopefully gives you the gist)
Regards
Marc
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.