Or if you’re comfortable with extensions, use “Form History Control” [1] to save all your form inputs and to restore or export them.
Before XUL extensions were removed in Firefox, the “Lazarus: Form Recovery” [2] extension to save form data was one of my “must haves” with Firefox.
[1]: https://addons.mozilla.org/en-US/firefox/addon/form-history-...