There are two forms on a single page, one for sending data and the other for entering pieces when clicking on the product. That is, when I click on the product, a modal opens and I enter the number there, but I do not want the data in this modal to be sent immediately, I want it to be sent with the product information, how can I do that.
I am using mongodb as database.