Releases: FThompson/FormPersistence.js
Releases · FThompson/FormPersistence.js
Changed #persist to persist on page refresh. Added serialize/deserialize.
Modified the behavior of FormPersistence#persist
to persist form data across page refresh and clear stored data upon submission by default. Added option to save upon submission instead of clear. Changed behavior to call load
in persist
to eliminate the need to call both. Added valueFunctions
parameter to persist
to support this change.
Added FormPersistence#serialize
and FormPersistence#deserialize
to support saving form in locations other than local storage such as a server.
Known issue: incompatible with Microsoft Edge versions <=17 (before Nov. 2018) and Internet Explorer.
Initial release.
Support for input
, textarea
, and select
tags both inside and outside forms.
Skips password
inputs for security, file
inputs due to existing security measures.