I'm setting up a job application website, i want to use relationships in the 'apply to job' process.
2 parties involved: Job owner (user account) and applicant (user account) -> the 'job' is in the middle.
Is it possible to use a toolset form (button) to hit apply on a job page:
Relationships:
One-to-many Job owner to Applications. (Share owner data with Application post type)
One-to-many Jobs and Applications. (Share job data with Application post type)
One-to-many Relationship between Applicant and applications. (Share applicant data with Application post type)
What i am trying to achieve with this is when an applicant applies to a job, the job owner can review the applicants information on the application page (custom post type created when applied).
Essentially i just want to 'share' bits of information from the applicant and the job owner and the job in one custom post type (applications).
Is this possible like this? I hope i am being clear enough about this process.
Thanks!
Thank you for getting in touch. I believe I have a good understanding of what you want to achieve.
Will it be a case where the user who is applying for the Job will be filling out an application form of such ? If this is the case then we can add a button to the Job post that says "Apply to this Job" and it will automatically fill out the relationship field for the application form.
From there the user can manually fill out the additional fields on the form. Once they submit the form the application will automatically be linked to the Job.
Just to make an overview, im not sure im following how to gather this data all together:
After the button "Apply to this Job" is clicked the user must fill out some extra fields like 'why do you want this job' etc.
1. The user will be connected to the' job (custom post type)' or the new custom post type 'application (custom post type)'?
2. When the job owner posts the 'job', how is he connected to the application when its made by the user?
(the job poster must be able to review the data submitted and accept or reject this - with a new toolset form)
The application will be visible in their 'account' with a view showing applications that concern them.)
So in general: how are all these connections made into the 'application' with relationships?
. The user will be connected to the' job (custom post type)' or the new custom post type 'application (custom post type)'?
Given that 'Job' will be in a One to Many relationship with Application then the connection will be Job -> Application -> User.
The user will be the Author of the application post type and Connected to the Job via their application post.
2. When the job owner posts the 'job', how is he connected to the application when its made by the user?
(the job poster must be able to review the data submitted and accept or reject this - with a new toolset form)
Ok this setup will require a view to list out all the applications that are connected to the job via the One to Many relationship.
Even if you don't use a view the job owner can still go to the post on the backend and then see which applications are connected to their Job post.
Alternatively with a view setup you can filter the Jobs by authors and this will list only the Jobs the current user created. From there with views again you can see which applications are connected to the jobs.
So in general: how are all these connections made into the 'application' with relationships?
Set Up a One to Many relationship between Jobs and Applications.
Jobs are connected to the Job owner via them being the Authors of the post and likewise with Applicants .