Tell us what you are trying to do?
___
I'm working on a real estate website, with custom post types for Homes, Builders, and Agents. I have set up relationships between these post types (each Home has one Builder, each Builder has multiple Agents, each Agent has multiple Home listings, etc.). When a home is displayed on the front end, the associated Builder and Agent are also displayed.
I would like to create a "Request More Information" form that gathers a visitor's name and email address, and sends an email to the Agent requesting more information about the property that they are currently viewing.
Ideally, we would also have a "Leads" post type, and submitting this form would also create a new "Leads" post. The post and the email notification that is sent to the agent should include fields for the Home address, the agent assigned to that Home, the URL of the Home, and other useful info.
So, after that long-winded setup, my question is, can data from the currently displayed post be passed along to create a new post via a CRED form?
I'm also very familiar with Gravity Forms and thought about using it, but I can't seem to pass data from related posts to it.
Thanks in advance for any help you can give to point me in the right direction 🙂
Is there any documentation that you are following?
____
No
Is there a similar example that we can see?
____
I've looked around, but can't find a similar scenario.
What is the link to your site?
hidden link