Skip Navigation

[Resolved] Create contact form per custom post type.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.62 hours from now. Thank you for your understanding.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 2 years, 5 months ago.

Assigned support staff: Minesh.

Author
Posts
#1230772

Hello,

Tell us what you are trying to do? Hello I created a custom post type called vendors. How is it possible to create a contact form for every vendor so someone can send email to the vendor through this form.

Regards,

#1230899

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - what if you create another post type "Vendor Application" (also create custom field group for your required fields and assign to this post type) and create a one-to-many relationship between vendor(one) and Vendor applications(many) from Toolset => Relationshps.

Related Docs:
=> https://toolset.com/documentation/user-guides/using-custom-fields/
=> https://toolset.com/documentation/post-relationships/

Once you create this, you can create a form for post type "Vendor Applications" and add the form to your required:
=> https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-creating-content/
=> https://toolset.com/documentation/post-relationships/selecting-parent-posts-using-forms-create-child-items/

- Setup email notification so when application submitted your supplier get notified.
=> https://toolset.com/documentation/user-guides/automated-email-notifications-with-cred/