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..8f5ed1436 100644 --- a/docs/web-forms-intro.rst +++ b/docs/web-forms-intro.rst @@ -31,9 +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: -* One question per page -* Jump to first error -* Last-saved * Satellite basemaps * big-image for labels * no-calendar appearance @@ -207,11 +204,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.