Hi have a kind of catalog system implemented with wordpress posts. Hi would like to create a "Get Quote" button on each post that would open on lightbox a small contact form. My challenge here is, how to get the information of from which page/post was contact form sent. Any ideas?
Cheers
You can add a hidden input in your contact form with a value of the name of the page for example:
and include it in your PHP:
and add it in the body of your 'mail' function.