Last chance to get discounted tickets to Codegarden... Price goes up on Today at 20:00 CEST!

Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Matthew Kirschner 317 posts 568 karma points
    Jun 01, 2017 @ 21:22
    Matthew Kirschner

    Get form name in email template

    How do I get the form name in a custom, Umbraco Forms email template?

    My first thought was to use the GetField method of the FormsHtmlModel passed to the view, but I don't know what the key for form name would be. I've tried "formName" and "form_name" to no avail.

  • John Churchley 254 posts 1134 karma points c-trib
    Jul 16, 2017 @ 20:58
    John Churchley

    Did you work this out?

    I did it myself by creating a hidden field with default value but there must be a more elegant solution.

  • Matthew Kirschner 317 posts 568 karma points
    Jul 17, 2017 @ 13:28
    Matthew Kirschner

    Hi, John.

    I'm not using the Forms Email Templates until they add these features back in. It's like one step forward and two steps back with every new update.

    Instead, I've started using the PerplexMail package, which provides a Forms Workflow out of the box. I had to tweak a file to get the recordID and form name in the email template, but the package is open source so this was relatively easy. Let me know if you need help.

  • denisedelbando 134 posts 331 karma points
    Oct 02, 2017 @ 13:51

    did they get rid of it?

Please Sign in or register to post replies

Write your reply to: