I have a requirement where a basic form exists and I want to include a list of related records (maybe using liquid code/fetchxml so I have full control of the design?) that the user can repeatedly add to, e.g. perhaps through an inline or modal form, or redirecting to a second page wiith an insert form.
This "add" form might have a "Save and close", which saves and returns to the previous form, and a "Save and create new" which just saves and stays on the same form but cleared so you can continue to add more records with fewer clicks. But not sure if this functionality is actually possible?
I can see I can do things like redirect to another page on success or stay on the page with a success message and keep the form present (but not empty), but not really seeing the ability to have both types of buttons on the same form.
I'm thinking it might be possible to hook into the save success in some way, and do something clever there with javascript?
I'm also wondering if subgrids are the way forward because they seem to have the ability to create, edit and delete sub records, but I think I'd lose control of the look and feel of the list if I did this approach? Are there any examples of customised subgrids?
I have a pro code background, so I'm also thinking I could just use complete custom forms if really necessary, but I'm trying to explore other options first.