Skip to content

Commit 20e717d

Browse files
authored
Document ODK Web Forms and new way of getting offline-capable Enketo links (#1944)
* Add section on offline Enketo links * Add ODK Web Forms page
1 parent cb680f7 commit 20e717d

File tree

9 files changed

+198
-22
lines changed

9 files changed

+198
-22
lines changed

docs/_static/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
width: 365px;
3232
}
3333

34+
.central-partial-screen {
35+
width: 400px;
36+
}
37+
3438
table.schema-table-wrap {
3539
width: 100%;
3640
}

docs/central-submissions.rst

Lines changed: 94 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,58 @@
33
Managing Submissions in Central
44
===============================
55

6-
The most common way to use ODK Central is in conjunction with a data collection client, typically on a mobile device, such as ODK Collect. To do this, you will need to :ref:`connect to it from your mobile device <central-users-app-configure>`, after which you will be able to :ref:`upload submissions <uploading-forms>` back to Central.
6+
When users fill out forms and submit them, Central receives Submissions. Central users with the right roles can then :ref:`manage those Submissions <central-submissions-accessing>` directly in Central, :ref:`download them <central-submissions-download>`, or :ref:`connect to them <central-submissions-odata>` from an external tool like Excel.
77

8-
ODK Central also bundles `Enketo <https://enketo.org>`_, which enables preview and submission of forms directly from a web browser. Please note that as with all ODK clients, Enketo does not always behave quite the same as Collect, or support the same features. Any authorized Web User may fill out a Form directly from the browser, as will be described in more detail below.
8+
.. _central-web-submissions:
99

10-
Finally, ODK Central offers Public Access Links. A Public Access Link grants anybody in possession of the link the ability to submit to a Form on your server. You can control whether each respondent can submit more than once, and revoke access from any Link at any time.
10+
Making Submissions from the web
11+
---------------------------------
1112

12-
Submissions sent to Central are available to browse in a preview table, to connect directly to data analysis tools, and for download.
13+
In general, we recommend using the :doc:`ODK Collect Android application <collect-intro>` when doing enumerator-mediated data collection, especially in offline conditions or when using multiple forms for a single project. To do this, you will need to :ref:`connect to Central from your mobile device <central-users-app-configure>`, and then you will be able to :ref:`send submissions <uploading-forms>` back to Central. However, there are many scenarios in which web forms may be more appropriate:
14+
15+
* Self-report. Use single-submission :ref:`Public Access Links <central-submissions-public-link>` that participants can fill out from any device.
16+
* Public surveys. Use :ref:`Public Access Links <central-submissions-public-link>` and share them on a poster as a QR code, by email, etc.
17+
* Non-Android mobile devices. You can give enumerators :ref:`Data Collector roles <central-users-web-roles>` in your project or send :ref:`Public Access Links <central-submissions-public-link>` for them to bookmark.
18+
* Data entry from paper forms. Web forms can be used at a computer with a keyboard to quickly transcribe data collected on paper.
19+
20+
ODK Central bundles `Enketo <https://enketo.org>`_ to enable editing, previewing and submitting forms directly from a web browser.
21+
22+
.. note::
23+
24+
Enketo does not always behave exactly like Collect, or support all the same features. The :doc:`XLSForm template <xlsform>` provides compatibility information and we recommend testing your form as you expect users to interact with it.
25+
26+
.. tip::
27+
28+
The ODK team is working on ODK Web Forms which will eventually replace Enketo in Central. Starting in Central v2025.1.0, you can :doc:`try it out <web-forms-intro>`!
29+
30+
Any authorized Web User may fill out a Form directly from the browser, as will be described in more detail below. Additionally, ODK Central offers Public Access Links which grant anybody in possession of the link the ability to submit to a Form on your server. You can control whether each respondent can submit more than once, and revoke access from any Link at any time. It is also possible to make Enketo web forms :ref:`usable while offline <central-offline-web-forms>`.
1331

1432
.. _central-submissions-direct:
1533

1634
Direct Web Browser Submissions
17-
------------------------------
35+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1836

1937
Web Users who are Administrators, Project Managers, or Data Collectors can directly fill Forms in the web browser from the Central administration website. This functionality is provided by Enketo, which does not always behave quite the same as Collect, or support the same features.
2038

21-
.. image:: /img/central-submissions/new.png
39+
.. image:: /img/central-submissions/new.png
2240

2341
Administrators and Project Managers can begin a survey by going to the :guilabel:`Submissions` tab of the Form, and clicking on the :guilabel:`New` button next to the Submissions header. This will open a new tab which will load the Form in Enketo.
2442

25-
.. image:: /img/central-submissions/data-collector-form-listing.png
43+
.. image:: /img/central-submissions/data-collector-form-listing.png
2644

2745
Data Collectors do not have access to the detailed Form management pages. Instead, they will find a :guilabel:`Fill Form` button next to the Form name in the list of Forms on the Project Overview page.
2846

2947
.. _central-submissions-public-link:
3048

3149
Public Access Links
32-
-------------------
50+
~~~~~~~~~~~~~~~~~~~
3351

3452
ODK Central allows the distribution of surveys to a broad or open respondent group using Public Access Links. These Links take recipients directly to the Form in their web browser, administered by Enketo.
3553

3654
To create a Public Access Link, go to the Form's :guilabel:`Public Access` tab. Click on :guilabel:`Create Public Access Link…` to begin.
3755

38-
.. image:: /img/central-submissions/public-link-new.png
56+
.. image:: /img/central-submissions/public-link-new.png
57+
:class: central-partial-screen
3958

4059
In the window that appears, you'll need to name the Link. This name is for your own identification purposes in the administration website, and is not displayed to respondents.
4160

@@ -49,14 +68,14 @@ You'll also need to decide whether to allow multiple submissions per respondent.
4968

5069
Once a Link is created, it will appear in the table, along with a web address you can copy and paste to distribute the Link to respondents.
5170

52-
.. image:: /img/central-submissions/public-link-listing.png
71+
.. image:: /img/central-submissions/public-link-listing.png
5372

54-
You cannot yet edit any of the details of a Public Link. This will come in a future version of Central.
73+
You cannot yet edit any of the details of a Public Link.
5574

5675
.. _central-submissions-link-revoke:
5776

5877
Revoking a Link
59-
~~~~~~~~~~~~~~~
78+
^^^^^^^^^^^^^^^
6079

6180
You can revoke a Link at any time to prevent any further Submissions through it. Once a Link is revoked, all Submissions will be immediately denied, and new attempts to load the Form using the Link will result in an error instead.
6281

@@ -69,7 +88,7 @@ Accessing Submissions
6988

7089
To find the Form submissions page, first find the form in the Form listings page (:menuselection:`--> Forms`) and click on it. You will be taken to the :ref:`Form Overview <central-forms-checklist>` page for that form. Click on the :menuselection:`--> Submissions` tab below the form name to find the submissions.
7190

72-
.. image:: /img/central-submissions/listing.png
91+
.. image:: /img/central-submissions/listing.png
7392

7493
The table preview you see here will at first show you the first ten fields of your survey and their results, with the latest submissions shown closest to the top. Any downloadable files will appear with a green download link you can use to directly download that media attachment. The submission's instance ID will always be shown at the right side of this preview table.
7594

@@ -90,12 +109,12 @@ Learn more about these options below:
90109

91110
.. _central-submissions-download:
92111

93-
Downloading submissions as CSVs
112+
Downloading Submissions as CSVs
94113
-------------------------------
95114

96115
To download all submission data as :file:`.csv` tables, click on the :guilabel:`Download all # records` button on the right side of the listing page:
97116

98-
.. image:: /img/central-submissions/download-button.png
117+
.. image:: /img/central-submissions/download-button.png
99118

100119
If you have any row filters applied to the submission table, those filters will be applied to your download as well. You can use this to, for example, download only submissions from a particular month, or only approved submissions.
101120

@@ -106,7 +125,8 @@ Export options
106125

107126
Once the download dialog opens, you'll be given some additional export options.
108127

109-
.. image:: /img/central-submissions/download-modal.png
128+
.. image:: /img/central-submissions/download-modal.png
129+
:class: central-partial-screen
110130

111131
Some of the options may be disabled if they do not apply to your data, or if they are not available due to features that you have enabled (such as managed encryption).
112132

@@ -228,10 +248,10 @@ Once submissions have been reviewed, the submission table download and the OData
228248

229249
.. _central-submissions-details:
230250

231-
Submission Details
232-
------------------
251+
Viewing Submission Details
252+
--------------------------
233253

234-
As of version 1.2, each submission has its own detail page which provides basic information about the submission, an activity history of action and discussion on that submission, and tools for updating the submission review state and data itself.
254+
Each submission has its own detail page which provides basic information about the submission, an activity history of action and discussion on that submission, and tools for updating the submission review state and data itself.
235255

236256
.. image:: /img/central-submissions/details.png
237257

@@ -246,8 +266,8 @@ You can leave a note when you update the review state, to indicate why the decis
246266

247267
.. _central-submissions-editing:
248268

249-
Submission Editing
250-
------------------
269+
Editing Submissions
270+
--------------------
251271

252272
From the :ref:`submission detail page <central-submissions-details>` you can press the :guilabel:`Edit` button to edit the submission in your web browser. When an edited submission is resubmitted, a new version of it is created, just like a form version. You will be able to see previous submission versions in a future version of Central.
253273

@@ -257,3 +277,56 @@ Finally, when edits are submitted, the submission :ref:`review state <central-su
257277

258278
.. image:: /img/central-submissions/diff.png
259279

280+
.. _central-offline-web-forms:
281+
282+
Allowing web form users to work offline
283+
---------------------------------------
284+
285+
.. note::
286+
287+
ODK Web Forms does not yet support offline use. If someone loses connectivity while filling out an ODK Web Forms form, they will be able to complete filling it out but will need an Internet connection before they can submit.
288+
289+
Enketo's offline-capable mode makes it possible to launch a form while offline, save drafts of that form, queue submissions to be sent to a server, and automatically send queued submissions once a connection is available.
290+
291+
.. note::
292+
Queued submissions are automatically sent **only if the form is open** in a browser when a connection is available.
293+
294+
You can make an Enketo form offline-capable by changing the form's web address and sharing that modified address. The way to do this depends on your Central version but links from older versions of Central will continue to work in newer versions.
295+
296+
.. tab-set::
297+
298+
.. tab-item:: Central v2025.1.0+
299+
300+
**Offline-capable link that does not require logging in**
301+
302+
#. Create a Public Access Link for your form. You can create a single shared link or repeat these instructions for each person filling out data so that you can track who is submitting.
303+
304+
#. Copy the link and paste it in a web browser.
305+
306+
#. Add ``/offline`` to the address right before the ``?st``.
307+
308+
#. Press ``Enter`` on your keyboard, confirm that you are redirected to a new address, and make sure that you see an orange connectivity icon in the upper left of the form.
309+
310+
#. Copy the link that you were redirected to and share it with your data collector(s).
311+
312+
**Offline-capable link that requires logging in to submit**
313+
314+
#. Give the :guilabel:`Data Collector` role to any individual who will need to fill out this form.
315+
316+
#. Go to the form filling page for your form by clicking the :guilabel:`Add submission` button.
317+
318+
#. You should see your form and the web address should end with ``/new``. Add ``/offline`` to make the address end with ``/new/offline``.
319+
320+
#. Press ``Enter`` on your keyboard, confirm that you are redirected to a new address, and make sure that you see an orange connectivity icon in the upper left of the form.
321+
322+
#. Copy the link that you were redirected to and share it with your data collector(s). They will need to log in to first access the form and when they submit.
323+
324+
.. tab-item:: Central v2024.3.2 and prior
325+
326+
#. Go to a web form link by clicking the :guilabel:`New` button on the submissions page or by copying and pasting a :ref:`Public Access Link <central-submissions-public-link>`.
327+
328+
#. Add ``x/`` after ``/-/`` in the address. For :ref:`Public Access Links <central-submissions-public-link>`, replace ``single/`` with ``x/``.
329+
330+
#. Press ``Enter`` on your keyboard, and make sure that you see an orange connectivity icon in the upper left of the form.
331+
332+
#. Copy the link and share it with your data collector(s)

docs/form-logic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ The labels are also shown in the jump menu.
890890
Filtering options in select questions
891891
===============================================
892892

893-
To limit the options in a select or :doc:`rank <rank-widget>` question based on the answer to a previous question, specify an expression in the ``choice_filter`` column of the **survey** sheet. This choice filter expression must refer to one or more column in the **choices** sheet that the dataset should be filtered by.
893+
To limit the options in a select or :ref:`rank <rank-widget>` question based on the answer to a previous question, specify an expression in the ``choice_filter`` column of the **survey** sheet. This choice filter expression must refer to one or more column in the **choices** sheet that the dataset should be filtered by.
894894

895895
For example, you might ask your enumerators to select a state first, and then only display cities within that state. This is referred to as a "cascading select" and can be extended to any depth. The example below has two levels: job category and job title.
896896

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

docs/img/web-forms/image-desktop.png

Lines changed: 3 additions & 0 deletions
Loading

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ ODK is open-source software that's made by a welcoming community of people just
4747
central-install
4848
central-using
4949
central-manage
50+
web-forms-intro
5051
central-best-practices
5152

5253
.. toctree::

0 commit comments

Comments
 (0)