Episerver.Forms: How to send submitted from field in the email body?

Vote:
 

I have a form where I send email on form submits. The form has been used in multiple pages and I want to send the page name as a parameter of my email. How can I do it?

Furthermore, In form submissions I can see the "submitted from" column which refers to the page. I tried adding #Submitted from# field but EpiSerever didn't replace it.

#179098
May 31, 2017 10:29
Vote:
 

Hi Ashkan,

If you're using Episerver Forms 4.3 or higher, you can create your own placeholders using Placeholder API.

I wrote a blog post on this topic some time ago: https://www.dcaric.com/blog/creating-placeholders-for-episerver-forms

Hope this helps.

#179101
May 31, 2017 11:06
Vote:
 
<p>Wow! thanks for the awesome post and fast response. :)&nbsp;</p>
#179102
May 31, 2017 11:12
Vote:
 

From Forms 4.3, PlaceHolder API is in Public BETA  and you can start using it.

https://world.episerver.com/documentation/developer-guides/forms/placeholder-api/

#179610
Jun 16, 2017 4:45
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.