How to autosave a form

Hmm it’s not working, I changed the inputs to the ones on my form, but maybe I’m missing something. I’m guessing its the onchange, but what do I put the onchange on?