Is it possible to nest html forms like this
so
While I don't present a solution to nested forms (it doesn't work reliably), I do present a workaround that works for me:
Usage scenario: A superform allowing to change N items at once. It has a "Submit All" button at the bottom. Each item wants to have its own nested form with a "Submit Item # N" button. But can't...
In this case, one can actually use a single form, and then have the name of the buttons be submit_1
..submit_N
and submitAll
and handle it servers-side, by only looking at params ending in _1
if the name of the button was submit_1
.
Ok, so not much of an invention, but it does the job.