Skip Navigation

[Resolved] Contact form for each post created

This support ticket is created 4 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by Christian Cox 4 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1518581

I would like to create a contact form in a content template that will send a contact form submission to the author who created the post using the content template. Is this possible?

#1518769

Hello, yes this is possible using a Form, email notifications, and a generic field that captures the current post's author. The Form must create posts of some kind, so you will probably create a custom post type called "Contacts" or something similar. Another ticket here in the forum includes some example code you can review: https://toolset.com/forums/topic/contact-form-to-post-author/

Let me know if you have questions about that.

#1526897

Hi, Christian, should I not be using a post form?

#1526949

Hi, Cristian, I have done the following but I am very confused.

1. Created a Post type called Contact forms
2. Created fields for the form with custom fields
3. I created two emails fields on for the author and one for the person submitting the form

I looked at the other post and the user mentions cred which I cant seem to find and I am also not sure how I should add the form in the content template.

#1527439

1. Created a Post type called Contact forms
I think you are confusing posts and forms. You will use the Toolset Forms plugin to create actual Forms. Toolset Forms is the same as CRED. The name was changed recently so you will see both terms used interchangeably on the site. The Toolset Forms plugin will help you create a Form, and that Form will create Contact posts. Your visitors will see the Form on your site and submit the Form. When they submit the Form, a new Contact post will be created using the information they submit. Then the email notifications will be triggered automatically.