Autosave for Long and Complex Forms

Hi community,

I’m using Directus to manage a large pharmaceutical product database. Many of our collections are deeply related, and some contain a high volume of fields and data, which makes form editing a time-consuming task.

Because of this, our editors often spend a long time filling out forms, and sometimes they lose their work due to unexpected interruptions like power outages, internet issues, or browser crashes.

Is there any built-in autosave functionality in Directus for these cases?
If not, what would be the best approach to minimize the risk of data loss during long editing sessions?

Thanks in advance!

1 Like

There isn’t any built-in autosave functionality, but it is possible to implement with a custom interface. We have an internal implementation we could share, I just haven’t gotten around to open sourcing it yet.

EDIT: Here’s our source, you might be able to work with it: https://github.com/cmiteam/directus-extension-autosave ​ ​ ​

Great question. We don’t have native support for this yet.

For now, I’d highly recommend using CMD+S shortcut which is Save and Stay while editing.

Have a follow up question :joy: as this is top of mind for me right now.

Are there different versions for each product? For example if they’re filling it out and autosave is happening - is it ok to save to the ‘active’ or ‘published’ product?