Skip to content

Is it possible to create a master-detail form? #16

Answered by lovasoa
llagerlof asked this question in Q&A
Discussion options

You must be logged in to vote

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 ?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@llagerlof
Comment options

@lovasoa
Comment options

Answer selected by lovasoa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #13 on July 06, 2023 07:44.