I want to build a job posting site. So...lets say I have a custom post type "jobs" a user (or maybe just a guest, not sure yet) fills out the form and posts a job. On the other end, only the logged in user looking for the job can see the job posts.
I think I know how to do all that.
What I don't know how to do is create a "contact the poster of the job" form, with it's own custom fields....the contact form of course would be within that job post.
Ideally it would be a modal window (I know how to create modal windows).
For this to be a modal you will need to implement this with some form of bootstrap modal and then add the form to the modal.
What I would recommend is that you create a messages CPT and set it to relate to the Job post in a Post type relationship, One to many where 1 message is connected to one Job Post.
This way you can add the contact seller form to the Parent Job post and from there the user can use this form to contact the seller.
Please let me know what you think of this and we can go from there.