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?
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.
Hi, Christian, should I not be using a post form?
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.
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.