is it possible to make a dyamic contactform on a custom post like: hidden link
This cpt has many differtent authors, these posts are ads from members. We want to remove the mailadres from the post and let people respond on this ad by using a contactform.
this is an example of what I want: hidden link (click on the blue button "Envoyer un message")
Hello and thank you for contacting the Toolset support.
It is possible to create a contact form on your CPT with Toolset. The example that you provided(leboncoin.fr) is actually adding an extra step. The post has a "Envoyer un message" button that takes the visitor to another page and passes the post id in the URL(id=1801052597 in this example hidden link)
You can create a similar process, or you can just put the form on the post's page and avoid taking the user to another page(extra step)
Note that Toolset forms are bound to a specific post type, you will need to create an additional custom post type to hold these contact messages, you may call it "Contact Message". Then you'll have to create a form for creating Contact Message posts and configure a notification on the form to be sent to the email of the author of the post. For that, you will need to use generic fields to store the author's email, and then use that generic field to create the proper email notification.