Reputation: 20223
I have three entities:
In the form, the user can create a new person and add some existing affiliations by clicking the button (add existing affiliations). The existing affiliations will be added in the PersonAffiliation entity.
The problem is that when the user starts creating a new person, he has to click add existing affiliation, and this person is not present in the database yet.
Is there a possibility to use the Person object from the form in the second form during the affiliations selection and then set the selected affiliations to this Person object and come back to the first form where the user has to submit the Person creation.
Tank you very much for your help.
Upvotes: 0
Views: 98
Reputation: 2062
You can do this two possible ways:
Upvotes: 1