Tell us what you are trying to do?
I'm trying to have the notification from a submitted Cred Form go to an address that is stored in a custom post type. The Cred form is included in the content template of the custom post type.
I have a site that has custom post types of real estate property. On each property, there is a field that stores a valid email address. The content template for the property post includes a cred form for contacting the seller of the property. On this contact form, I collect basic contact information and when the form is submitted, I need the form to be sent to an email that is stored in the property custom post.
Is there any documentation that you are following?
I have found several things, but nothing like what I need to do.
Is there a similar example that we can see?
I have not found one yet
Is there a particular post type that this contact form is tied to ? Also does the contact form have an email field to hold the Property listing email ?
If it does then we can use a shortcode to provide the value for this email custom field then trigger the email to this custom field on the form.
Essentially you will have a recipient email field on the form and hide this field. Then you will pass the current post email into the form by setting the value of the email field to [types field='email'][/types] where 'email' is the slug of the email field on your property.