getodk / getodk/docs

Tip: prevent the form being filled after a certain date, even if offline

Open
#1,954 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
58
Forks
160
Avg merge
5d 11h
Merged PRs (30d)
12

Description

Have a note with text like "Submissions for this form are no longer being accepted" with relevance and constraint that compare the system date to a date in the future.

Beware of timezones and of devices that are set to the wrong time.

This also pairs nicely with enabling device-based edits and stopping them on a certain date or even after a certain amount of time has passed.

https://forum.getodk.org/t/odk-collect-v2025-2-beta-edit-finalized-sent-forms-mdm-configuration-android-15-support/54254/12?u=ln

Contributor guide

Open the contributing guide

Research direction

Start by locating the documentation for form notes, relevance, and constraint expressions that compare the system date with a future date. Document how to prevent submissions while offline, including timezone and incorrect-device-clock caveats, and cover the related device-based edit cutoff behavior. Done means users can find clear guidance and understand the limitations.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.