Hi
I have made a form with Umbraco Forms
and the I have added some few fields plus a email field called
contactPersonEmail
Then I have made a email template and used the workflow "Send email with template (Razor)" in the email field I will like to use the value in the contactPersonEmail.
What is the syntacs here?
{fieldName} doesn't work
Hi Ben
Thanks for the answer.
Yes it is {fieldName}
But I think there is a bug somewhere, it didn't like the alias name.
And I a make the name and the alias the same in lower camelcase and then it works.
So I can't make the name be with " " og other stange. I looks like it doesn't work.
Umbraco Forms - Email reply
Hi I have made a form with Umbraco Forms and the I have added some few fields plus a email field called contactPersonEmail
Then I have made a email template and used the workflow "Send email with template (Razor)" in the email field I will like to use the value in the contactPersonEmail. What is the syntacs here? {fieldName} doesn't work
Regards /K
If you're still stuck with this I'd suggest using event handlers, and remove the send email workflow.
You can then have the event handler call a service which sends an email, and you can pass parameters through this way.
The RecordEventArgs lets you access parameters and fields from the submitted form.
Hi Kim,
{fieldName}
should do the trick, try both alias and the full name. I tested this locally on the latest version of Forms and works okay for me.Have you checked your logs? Is it definitely a missing email address that's the problem and not something else?
Hi Ben Thanks for the answer. Yes it is {fieldName} But I think there is a bug somewhere, it didn't like the alias name. And I a make the name and the alias the same in lower camelcase and then it works. So I can't make the name be with " " og other stange. I looks like it doesn't work.
Regards
is working on a reply...