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 300 posts 520 karma points
    Jun 01, 2017 @ 21:22
    Matthew Kirschner
    0

    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 234 posts 1060 karma points
    4 days ago
    John Churchley
    0

    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 300 posts 520 karma points
    4 days ago
    Matthew Kirschner
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft