Hey all...
I've been struggling with a particular task for awhile...and I feel like the solution is close.
What I want to do is this:
I currently have a Custom Post Type of "Contacts". Stored with each record is an email address in a Custom Field. I'd like to loop through the contacts list and print out a link to my General Contact Form where the Notification Email would be dynamically routed to the stored email address of that particular Contact.
I know this problem has been solved before....
(See: http://www.gravityhelp.com/forums/topic/email-notification-send-to-email-address-pulled-in-from-post-custom-field)
But, I don't see where it has been done in such a way that the email address isn't passed along as a parameter in the URL. In my case, I'd like to pass just the Post ID (or slug) and be able to query the stored email value when the form is submitted.
Is this possible? I'd rather not reveal these various contact email addresses...and I'd like to use the same contact form. Those are the two criteria.
Thanks in advance...