Forum
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!
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!
Yes, that should work, if you pass it into the template with
PerchSystem::set_var()