The second part of my problem is to create a new PARENT rather than an existing one... so on the page
hidden link
...you would select a CHILD to give a parent to by clicking 'Choose Parent'.. That would then take you to the CHILD page with the list of potential PARENTS but underneath is now a button saying 'Create NEW PARENT' ..this takes you to the page: hidden link
Where there is a form to create a new PERSON so I need this person to be the CHILD's PARENT..
No I'm not using Toolset hooks to connect child/parent as I'm using the WordPress post heirachy as you demonstrated in my last query - connected to this ticket.
Both there PARENT and the CHILD are the same CPT 'PEOPLE'... I need to achieve
1. Select a CHILD from the list on this page: hidden link
That would then take you to the CHILD page with the list of potential PARENTS but underneath is now a button saying 'Create NEW PARENT' ..this takes you to the page: hidden link
Where there is a form to create a new PERSON so I need this person to be the CHILD's PARENT..
So, when I click on 'Create NEW PARENT' so when new person is created using this form "Create NEW PARENT'" you want to set this newly created parent as the parent of child-2 post - correct?