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 310 posts 560 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 248 posts 1125 karma points c-trib
    Jul 16, 2017 @ 20:58
    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 310 posts 560 karma points
    Jul 17, 2017 @ 13:28
    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.

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

    did they get rid of it?

Please Sign in or register to post replies

Write your reply to:

Draft