How do I create parent and list of child things with one click?

My app has a functionality where the user can create requests and share them with people.
and In that request form, the user can create a list of things.
I thought about it and I decided to use custom states to save the list of things on the page and then when the user submits the request, the list of things and the other fields would be recorded in the database.

the problem that I have is that:
I have a datatype named “payments” The user will create multiple payments that it will create a list, and when the user submits the request, the request will be created and the list of payments will be saved in it.
but I don’t know how to save them on the page, I created the custom states with the correct data type, but when I am trying to set the status it is not giving me the option to link the input with the field.
Datatype 1: Request
Field Type
Request type text
Request date date
Payments list of Payments

Dataype 2: Payments
Field type
currency option set
money number
date Date

I may don’t know about custom states but I need help and see how to solve my problem.

image

what I am supposed to do here?
image

Unfortunately Bubble does not give the option to create an object in the front end.
The custom state you see is only good to hold an object already in the database.

There are some 3rd party plugins that add front-end memory functionnalities that might help. I know that “Floppy” is a well known one, but have’nt used it yet and I am unsure if it can fit your need.

1 Like

So there is no way to make a temporary list of things without plugins? like any other way?

The short answer is no, not currently. The long answer is, I’d recommend you check out this post: Dynamic row addition in Repeating Group and bulk CRUD of Things using vanilla Bubble

In that post, something that I didn’t understand is what is the workflow of the create task button? how and where is he scheduling the api workflow?
And how do i Fix the issues with updating indexes after row deletion?