THE GITHTML FIELD GUIDE

Explain what happens to forms in an offline HTML copy

A normal HTML form does not automatically queue submissions for later delivery when offline. A saved reading copy should remove misleading submit actions or clearly explain their network requirement. Do not invite readers to enter sensitive information into an artifact whose submission, storage, and retry behavior have not been deliberately implemented and verified.

Identify the hidden dependency

A form can look fully functional because its controls are native HTML while its action still points to a remote service. Pressing Submit offline may simply fail or navigate away, with no durable record of the input.

Consider an incident-review worksheet that retains text fields and a Submit feedback button from a hosted page. A reader may enter valuable notes during travel and assume the page will send them later. Without a deliberately implemented and tested storage and delivery mechanism, that assumption is unsafe. Decide whether the artifact is a form, a writable worksheet, or a reading reference. For a reference, replace input controls with labeled information. For a worksheet, explain the approved place to record responses and whether any data persists after closing the document.

Prepare the intended reading copy

For an informational copy, render the relevant fields as labeled text. If a worksheet remains interactive, explain where answers should be recorded and that the page is not a delivery mechanism. Do not imply background synchronization exists merely because a browser supports related APIs.

Inspect the form action, method, scripts, and any application-specific queue before making claims about delivery. Native controls can be visible even when the submission destination is unavailable. If a real queue exists in the original application, verify its scope and whether the exported artifact includes the necessary implementation and storage context; do not transfer the guarantee automatically. Test with invented non-sensitive values and an approved test endpoint. Avoid submitting a real production form merely to observe the offline failure, since connectivity may return during the test or the application may send unexpectedly.

  1. Identify each form action and whether any real offline queue exists.
  2. Remove or explain submission controls in a reading-only artifact.
  3. Use safe sample data to verify failure behavior and avoid promises of later automatic delivery.
html
<p>This is a reading copy. Record responses in your approved notes system; this page does not submit them.</p>

Verify the offline result

Test with non-sensitive sample data and connectivity disabled, without sending real submissions to a live service.

Make the fallback instruction visible before the fields, not only after a failed submission. Tell readers whether to copy their responses into an approved notes system and how to reach the live form later. Distinguish saved locally, queued, sent, and acknowledged if the application actually supports those states. A single success-looking banner is insufficient evidence of server receipt, and a reading document should not invent those states to make its interface appear complete.

Sources and further reading

AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.

All offline reading guides →

Read as MarkdownAll guides

Explain what happens to forms in an offline HTML copy · gitHtml