Tell us what you are trying to do?
I'm building a member management system for a chamber of commerce. Each member uses the default user registration form to sign up, then they will be able to create a profile that will be included in a member directory. So at this point, the user registration uses the default User Registration form in CRED. Then after they sign up, they build out their public profile which uses Post Fields.
One of the items I would like to include in the Profile field group is a contact form. The point of the form is so that when users visit a member profile, they can also contact the member directly via a contact form. Here is an example - hidden link
If you click the Request Info button, the user is taken to a dedicated contact form.
I would like to create the same feature without having to build different contact forms for each member that signs up.
Is there any documentation that you are following?
NA
Is there a similar example that we can see?
hidden link and then click the Request Info button
What is the link to your site?
hidden link
login - @mindspark
pword - @m1ndsp@Rk!
Hello, first I would like to note that this is a public forum. Please only share login credentials using the private fields for confidentiality - even with development sites. I have removed the credentials from public view as a security precaution. Now regarding your question, you can use a CRED form to handle messaging like this. Here's how I would set it up:
- Create a new post type called "InfoRequests" or something similar. Whenever the new CRED form is submitted, a new InfoRequest post will be created.
- Add any additional custom fields you want to capture in the InfoRequest post type: sender email, sender name, message, and so on
- Make the Member post type a parent of the InfoRequest post type. This way each InfoRequest will be associated with one Member in wp-admin
- Create a new CRED form that creates new InfoRequests posts. Use the Auto-generate button to generate the form markup
- Create any email notifications necessary to update your site members when messages are submitted
The next steps depend on how you want to present the form.
- If you want to show the form somewhere on the Member page, you can hide the parent post select field in the CRED form using CSS, and set its value automatically using the wpv-post-id shortcode.
- If you want to show the form somewhere else on the site, like on a custom page somewhere, you must use a URL parameter to set the parent post ID. Your link to this custom page from the Member post should include the Member ID as a URL parameter, like this: hidden link
Let me know if you have specific questions about this process.