Forum
Calling a contact form from within a blog post
I want a user to be able to contact me about a blog item they are viewing.
I assume I should use a contact form to capture the user's contact details and prefil the blog item details.
How do I pass the variables captured in the blog post.html template to a page other than post.php?
I'm no guru when it comes to stuff like this but here's my 2p's worth...
If you put this in your post.html template file, or create a new template and add it into your post.php file would this work?
All the contact info would be under the same form, but using the hidden field with the blog post title value you'd at least know which blog the contact came from.
Sorry can't test it as i'm on a train, but i must be somewhere in the ball park?
Thanks so much - thats brilliant - it does just what I want it to.
Your welcome, glad it worked