I have two content types – Employee and Project.
Both forms have inline entity forms with references to the contents of each other
- When a user creates an Employee node, he can add projects to which he has participated. When a user creates a Project node, he can add a list of the people who worked on this project.
However, I would like to pre-populate the title of the parent node in IEF. How can I do that?
For example, if I create a Project Content Type Project, I'll add some people. When saving the project node, these employees are mentioned on this project node. There is no link to this project in the employee node.
I would like to pre-populate the project title field in the IEF project of the employees when saving the project node and vice versa.
It sounds a bit like recursion and I'm not sure my explanation is clear, but I did my best.