logoalt Hacker News

marklar423today at 1:58 AM1 replyview on HN

I stand corrected, thanks for pointing it out. I suppose then I'm back to not seeing the utility of the proposal over form tags.


Replies

zerocratestoday at 2:46 AM

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.