Copied to clipboard

Flag this post as spam?

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


  • Liam Dilley 153 posts 379 karma points
    Jul 14, 2020 @ 01:43
    Liam Dilley
    0

    Umbraco 8 & Forms - Form GUiD

    One of the things lacking on umbraco forms is having the ability to create an auto responder email for a customer where the content of that email is unique for the form.

    I have set up a document type with content nodes that can represent form content and they have a form picker thus that field value would be the GUID of the form.

    On the form I need to get the form GUID itself and then somehow find content node of type with matching GUID on the field.

    Is this possible? Model in the razor form email template does not seem to even be able to return Model.ID or Model.Name etc. Old methods to get form name etc do not seem to work in Umbraco 8.

    The only other way that is working is a hidden field you put the content node in and use Umbraco.content(111) to get the node based on that value.

    Not friendly for the client.

    Any thoughts anyone?

    Ideally a Razor email/email template workflow needs to have at least a basic editor field to put in content.

  • Liam Dilley 153 posts 379 karma points
    Dec 15, 2020 @ 04:04
    Liam Dilley
    100

    Just wanted to update that in Umbraco 8 forms..

    Model.FormId

    Does output the form GUID but there are open git issues in regard to data missing and being required.

Please Sign in or register to post replies

Write your reply to:

Draft