How to access Page Title in Email Notification in Form builder?

Gabe R asked on June 26, 2020 21:31

I am building a form, and I want to include the page title of the page where the form was submitted in the subject line of the email notification.

I am able to reference form fields in the subject line of of the Email Notification (%Name% works fine), however, I am having trouble adding the page title to the subject line as well. Here's what I am using at the moment:

"Message from {%Name%} about {%page.DocumentPageTitle%}"

Thanks,

Gabriel

Recent Answers


Brenden Kehren answered on June 26, 2020 23:53

You'd have to add a field to the form and set the field to be hidden. Then in your controller (assuming you're using MVC) you set that value on submit.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.