This seems like a natural addon to most forms. It persists the value in the text fields until the form successfully submits. Since it’s using local storage, it will survive even rebooting your computer.
Garlic.js allows you to automatically persist your forms’ text field values locally, until the form is submitted. This way, your users don’t lose any precious data if they accidentally close their tab or browser.