Next.js Discord

Discord Forum

Advice

Unanswered
West African Lion posted this in #help-forum
Open in Discord
West African LionOP
I'm creating a multiStep form, and I'm hesitating between inserting each form data to the db once the user has completed it, thus saving its state even if the user leaves the app or refreshes, but this means having the rest of the columns in the db optional thus null which I think could be a security risk?. Or I can save the state of each form in context which means everything will reset upon refresh. Any advice would be deeply appreciated.

0 Replies