How to form inside form?

Good morning guys!

My today question is about forms. My project uses several forms, but in this case I got a new problem. I need to submit a form, but the HTML structure dont accept forms inside my form. I know HTML dont tolerate it, but I just cant remove the forms inside the main form, because each of them makes search on my DB.

In this printscreen, I got a multistep inside a modal. This multistep have 5 steps, and 2 steps got a form, that allows me to search users from DB. I select some users info from the list and I just want to submit this information do DB again.

There is something to do with this Forms? (btw, the 2nd printscreen you guys can see the app structure, and the main form just “cant” hold the steps).

image

You can’t nest forms. If your logic requires forms nested inside another form, then you need to rethink your logic.

3 Likes