[Resolved] Pass Parent Taxonomy to Child Post Creation
This thread is resolved. Here is a description of the problem and solution.
Problem:
I have a parent post - Position
I have a child post - Application
When submitting an application for a position for an application, I want the Group (taxonomy) from the Position to be passed on to all of the Applications. The usual method for setting default values within cred/forms isn't working for checkboxes.
Solution:
It is achieved by using custom codes, see details here:
I've searched, but nothing quite matches what I'm trying to do.
I have a parent post - Position
I have a child post - Application
When submitting an application for a position for an application, I want the Group (taxonomy) from the Position to be passed on to all of the Applications. The usual method for setting default values within cred/forms isn't working for checkboxes.
Once you decided it, migrate to new relationship and use the autogenerate form button to generate your form with latest forms version. Obviously keep backup your form anyway.
Well - I see you are using multi-site and could you please make sure you are using all latest Toolset plugins or all Toolset plugins must be updated to the latest official released version.
*** Please make a FULL BACKUP of your database and website.***
You can download the latest Toolset plugins from:
=> https://toolset.com/account/downloads/
Well - there is something missing than, with latest Toolset Forms plugin, when you click on "Auto-Generate Form" button the popup will look like as per the screenshot:
=> hidden link
But currently its not and I do not able to see which plugins you are using with your site.
Great - now when I try to access the form - it says the "Admin Guru" has taken over and is currently editing.
Could you please now "Auto-Generate" the form - do not forget to take your existing form code back up and adjust your form fields default values wherever needed and try to resolve your issue.
I am no longer editing the form, so you can access it.
I already updated the form with an auto-generation and then integrated my necessary changes.
The problem persists.
Well - the group taxonomy is not remain selected based on the parent post taxonomy assigned because it returns the slug and we need term ID to set the selected term in group drop-down box.
I need FTP access details to site so that I can add the custom shortcode that returns the term ID and based on that term ID we can make the group drop-down box option selected based on parent post taxonomy term.
Could you please share FTP access details to site.
I have set the next reply to private which means only you and I have access to it.