Yes there is a better way to do this. You would create a custom field on the post to store the email address for the contact for that listing.
Then you would use a PHP hook to get that email address value and tell the form to send the notification email to that email address.
They wouldn't be able to view the entries in the backend, but you could have it send the email notification directly to them using one form and not a form for each listing.
Here is a post about a customization to send the email notification to the author of the post. It's similar, only you'd be sending the email notification to an email stored in a custom field for that post:
http://forum.gravityhelp.com/topic/sending-form-to-author-of-post
Posted 14 years ago on Tuesday May 18, 2010 |
Permalink