- You have a form on your page.
- A member/user fills this form.
- On every change of the form you save the entered DATA into the local-storage.
- User is now able to leave the page and when the user comes back and opens the page again, you load data to every single form-field back again from local-storage.
You will need this 3 CODE-LINES to code it…
import {local} from 'wix-storage';
local.setItem("key", "value");
let value = local.getItem("key");