Skip Navigation

[Resolved] Toolset form that links user(s) to post type?

This support ticket is created 3 years 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years ago.

Assisted by: Shane.

Author
Posts
#2267945

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:

1. This action creates a custom post type 'application'
2. This action links the applicant and the job + job owner to the 'application' via relationships.
(as seen on this video with 'speakers' https://toolset.com/lesson-placement/lesson-placements-1729035-1727273/)

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!

#2268425

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matthew,

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.

Here below is the documentation that should be able to help you achieve this. If there are any issues please let me know.
https://toolset.com/course-lesson/selecting-parent-posts-when-using-forms-to-create-child-items/#creating-forms-when-a-parent-post-is-preselected

Thanks,
Shane

#2269533

Hi Shane

Thank you so much for your reply.

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?

Thank you!!

#2269579

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matthew,

. 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 .

Please let me know if this helps.
Thanks,
Shane