I guess the distinction would be that in the formaction/formmethod case you'll also submit all the other form data, while the button action will just be an empty body.
An extra blank form on the page and the form attribute on the button can work around that, and at that point the argument would basically be: this is super clunky.
Comments
I guess the distinction would be that in the formaction/formmethod case you'll also submit all the other form data, while the button action will just be an empty body.
An extra blank form on the page and the form attribute on the button can work around that, and at that point the argument would basically be: this is super clunky.
But there is no semantically valid reason for the button to be in the form if it doesn't submit the form. So move it outside.