Is there a way to have a user complete a form (in a form container) within another form, and have the result of this container form only added if the main form is completed?
Use case:
- Filling form questions while adding a new calendar event. Once created, the event would have a completed form linked to it.
Yes! Use a helper table for your main form. Then, use the form container onsubmit action to set a column value in your current row (helper table).
If you need further help, just let me know!
So you mean the “children” entity should only be added to your “children” table if the main form is submitted? And you can add multiple “children” within your “parent” entity?
That’s tricky. I think you would want to add a “temporary table” to your app.
Then, add rows to that table, and on submission of the actual form, run a webhook workflow to add those rows to your actual children table. Then delete the temporary rows.
Make sure you also add a timestamp to those temporary rows, if they’re left there for like 5-7 days, maybe you can run another scheduled workflow to delete them.
1 Like