- Here's a quick HTML party trick. Do you know that you can overwrite a form's behavior with a button? You're welcome. 😅 www.stefanjudis.com/today-i-lear...Feb 4, 2026 18:09
- And you can make it hidden and programmatically click it to have an autosave (say on blur) that saves partial data, but still validates when you push the submit button. Fully uncontrolled form, easy autosave, native validation :)
- You can even put the button outside of the form, and have the button point to it using the `form` attribute. developer.mozilla.org/en-US/docs/W...