|
|
|
|
|
by austincheney
1836 days ago
|
|
Forms cannot be nested. That is an html violation. That is because all submit events fire on all nodes contained by a form on submission even if the page does not go anywhere. Forms also require an action attribute that contains a submission address, which requests a new page on submission. |
|
The trade-off is that you have to specify it almost every single time, but it lets you group form elements that for UX purposes belong together, but for other reasons need different forms.
[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...