From bd5f4403bcb66447796fb673f2bc4e75138c30a9 Mon Sep 17 00:00:00 2001 From: latin-panda <66472237+latin-panda@users.noreply.github.com> Date: Sat, 12 Sep 2026 00:06:42 +0700 Subject: [PATCH 1/2] adds docs about pages in web forms --- docs/form-question-types.rst | 2 +- docs/web-forms-intro.rst | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/form-question-types.rst b/docs/form-question-types.rst index 3cd4c783a..3462a0e8a 100644 --- a/docs/form-question-types.rst +++ b/docs/form-question-types.rst @@ -2897,7 +2897,7 @@ The ``field-list`` appearance attribute, applied to a group of widgets, displays .. warning:: - Displaying :ref:`repeats` on the same screen (inside a ``field-list`` group) is not supported. + In Collect, displaying :ref:`repeats` on the same screen (inside a ``field-list`` group) is not supported. :doc:`Web Forms ` supports it: the whole group, including the repeat, is shown on one screen. .. seealso:: diff --git a/docs/web-forms-intro.rst b/docs/web-forms-intro.rst index 229884e97..ddfe5c8da 100644 --- a/docs/web-forms-intro.rst +++ b/docs/web-forms-intro.rst @@ -31,6 +31,7 @@ We've extensively tested ODK Web Forms and consider it ready for production use For users who have been using web forms in Central prior to v2026.2.0, here is functionality in Enketo that's coming to Web Forms, in rough order of priority: +* Query parameter defaults * One question per page * Jump to first error * Last-saved @@ -207,11 +208,26 @@ You can style text such as notes, labels, hints, options, and validation message .. image:: /img/web-forms/form-styling.* :alt: Styling in Web Forms +.. _web-forms-pages: + +Pages +------ + +.. versionadded:: Web Forms v1.1 + +To use pages in a form, set the ``style`` to ``pages`` in the ``settings`` sheet, as described in `the XLSForm documentation `_. + +By default, each question is shown on its own page. To show several questions together on one page, put them in a group with the :ref:`field-list appearance `. + +Unlike Collect, a ``field-list`` group can also contain a repeat and it is shown on the same page, along with the other questions. You can also apply ``field-list`` to a repeat itself. In that case, each repeat instance becomes a page. + +Use the :guilabel:`Back` and :guilabel:`Next` buttons to move between pages. Pages where no question is :ref:`relevant ` are skipped. + Translations ------------ .. seealso:: - + :doc:`guide-form-language` Web Forms will display text using the default language specified in the form definition if there is one, reverting to the first supported language the user has configured in their browser. If no browser language matches one of the form languages, then the default language is English. The user may select their preferred language from the language selector dropdown shown at the top of the form, which is then saved and used for all future forms. From cf000856433e34a04493f5fae8e216476209904d Mon Sep 17 00:00:00 2001 From: latin-panda <66472237+latin-panda@users.noreply.github.com> Date: Sat, 12 Sep 2026 00:11:22 +0700 Subject: [PATCH 2/2] updates implemented features --- docs/web-forms-intro.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/web-forms-intro.rst b/docs/web-forms-intro.rst index ddfe5c8da..8f5ed1436 100644 --- a/docs/web-forms-intro.rst +++ b/docs/web-forms-intro.rst @@ -31,10 +31,6 @@ We've extensively tested ODK Web Forms and consider it ready for production use For users who have been using web forms in Central prior to v2026.2.0, here is functionality in Enketo that's coming to Web Forms, in rough order of priority: -* Query parameter defaults -* One question per page -* Jump to first error -* Last-saved * Satellite basemaps * big-image for labels * no-calendar appearance