p.s. The above documentation works when Edit child link is placed at Jobs single post.
----------------------------
My current CPT:
- Employers
- Jobs
- Applicants
----------------------------
Relationships:
- Applications (a Jobs -> Applicants, n..m) Relationship Intermediary post. Slug: application
- Employers -> Jobs do have, 1..n. Slug: employer-jobs
----------------------------
What I have so far,
1. User created (Role: Employer), at the same time a Profile Post type: Employer, is also created vie cred api (cred_save_hook).
2. Post forms, Create/Edit a job
3. Given Access for users type Employer to Create/Edit the above-mentioned forms.
4. Created a My Account page.
----------------------------
What I want to achieve:
- Adding a link at "My account" Page: "Create a new Job" and, when doing so, to connect it automatically with the Employer profile (already created).
So the "Employers - Jobs" field to be automatically selected. (the profile) [Screenshot attached]
- Employers -> Jobs do have 1..n Relationship.
Anytime an Employer creates a Job, it has to be connected with it's Profile.
Hello. Thank you for contacting the Toolset support.
Do you mean that you want to hide/remove the parent field from your form and then when user submit the form you want to automatically link the current employee profile?
Can you please share problem URL and admin access details as well as the employer user profile access details and share the details from what link I can submit the form.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.