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.
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.
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.
is working on a reply...