Skip to content

Add docs for WF autosave feature - #2127

Open
garethbowen wants to merge 5 commits into
getodk:masterfrom
garethbowen:document-autosave
Open

garethbowen wants to merge 5 commits into
getodk:masterfrom
garethbowen:document-autosave

Conversation

@garethbowen

Copy link
Copy Markdown
Contributor

@latin-panda latin-panda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!! I've added some little feedback below

Comment thread docs/web-forms-intro.rst Outdated

.. versionadded:: v2026.4.0

Forms can now be configured to automatically store form contents in the user's browser. This can be useful to protect against losing information when the browser tab is closed unintentionally. This feature is enabled by default for all forms created on v2026.4.0 or later, except for forms with submission encryption enabled.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please mention that uploaded files like photos are saved too? It matters for the warning below. Also, can you please say explicitly that existing forms have it off and can turn it on in Settings?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Comment thread docs/web-forms-intro.rst Outdated

.. warning::

Data stored in the browser is not encrypted so it is possible a third party with access to the users's device can read it. If your form may sensitive information consider the risks of having this feature enabled and consider disabling it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typos

Suggested change
Data stored in the browser is not encrypted so it is possible a third party with access to the users's device can read it. If your form may sensitive information consider the risks of having this feature enabled and consider disabling it.
Data stored in the browser is not encrypted so it is possible a third party with access to the user's device can read it. If your form may contain sensitive information consider the risks of having this feature enabled and consider disabling it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation isn't a typo - it's making it part of the warning. The other ones I've fixed.

Comment thread docs/web-forms-intro.rst Outdated

Data stored in the browser is not encrypted so it is possible a third party with access to the users's device can read it. If your form may sensitive information consider the risks of having this feature enabled and consider disabling it.

When returning to a form the user will be prompted to restore or discard the saved instance. Web Forms will ignore data older than 30 days. Data stored on the device cannot be guaranteed as at any time the browser may choose to delete it, so this feature should not be relied on to store critical information for a long period of time.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The buttons say "Recover" and "Discard",

Suggested change
When returning to a form the user will be prompted to restore or discard the saved instance. Web Forms will ignore data older than 30 days. Data stored on the device cannot be guaranteed as at any time the browser may choose to delete it, so this feature should not be relied on to store critical information for a long period of time.
When returning to a form the user will be prompted to recover or discard the saved instance. Web Forms will ignore data older than 30 days. Data stored on the device cannot be guaranteed as at any time the browser may choose to delete it, so this feature should not be relied on to store critical information for a long period of time.

The last sentence is hard to read 🤔, maybe something shorter this: The browser may delete stored data at any time, so don't rely on it for long-term storage.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Comment thread docs/web-forms-intro.rst Outdated

When returning to a form the user will be prompted to restore or discard the saved instance. Web Forms will ignore data older than 30 days. Data stored on the device cannot be guaranteed as at any time the browser may choose to delete it, so this feature should not be relied on to store critical information for a long period of time.

Users can only store one saved record per form and any further updates will overwrite the stored record with the new version.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please say this is one record per form and per browser? Two tabs on the same form overwrite each other.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Comment thread docs/web-forms-intro.rst

Users can only store one saved record per form and any further updates will overwrite the stored record with the new version.

To enable or disable Autosave, go to the :guilabel:`Settings` tab for that form. In the :guilabel:`Web forms experience` section, and toggle the :guilabel:`Autosave` checkbox.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add that editing a submission, draft testing, and preview don't autosave?

@latin-panda latin-panda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready! Thank you

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants