-
Let's say, like a user form as main form and addresses as a detail form allowing more than one address for each user. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If I understand well, your need is to create users, and associate multiple addresses to each user ? I added an example to this repo: Data insertion for One-To-Many Relationships: Master-Detail Forms The main idea is to create two separate forms. The first one is an edition form for the already-existing user record, and the second is a form to add an address to the user. When you initially load the user creation form, we do not display the address form. Only when the user has been created, you are redirected to the user edition form that contains the address form. Does this solve your problem ? |
Beta Was this translation helpful? Give feedback.
If I understand well, your need is to create users, and associate multiple addresses to each user ?
I added an example to this repo: Data insertion for One-To-Many Relationships: Master-Detail Forms
The main idea is to create two separate forms. The first one is an edition form for the already-existing user record, and the second is a form to add an address to the user.
When you initially load the user creation form, we do not display the address form. Only when the user has been created, you are redirected to the user edition form that contains the address form.
Does this solve your problem ?
How do you think the documentation could be improved to make this easier to discover ?