We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Question, Blog, Forms

Take current blog post url on a contact form

Hi, every post on my blog has a contact form. Is there any way to get current "PostTitle" on my form results?

<perch:input type="hidden" id="postTitle" value="postTitle" />

thanks!

Raul Serrano

Raul Serrano 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2637 points
Perch Support

Yes, that should work, if you pass it into the template with PerchSystem::set_var()