Creating or configuring forms > Configuring the <pages> element > Configuring a static page layout

6.2.3 Configuring a static page layout

A static layout is recommended for more advanced users or users that may only need to change a few components when submitting the form. In this layout, the user is presented with all pages at the same time. Users are shown the list of pages on the left side (the context area) and can skip to any page at any time.

To configure a static page layout

  1. Open the desired xml file located in the Viewpoint home directory. Locate the <pages> element.
  2. Set the ui-type attribute to "static".
  3. <pages ui-type="static">
  4. Set the hide-context attribute to "true" to hide navigation on the left side of the form that shows currently-selected tab.
  5. <pages ui-type="static" hide-context="true">

    Example 6-1: Submit job form without hide-context="true"

    Example 6-2: Submit job form with hide-context="true"

    The navigational tags on the left side of the page disappear, and the user navigates the form using the links on the bottom of each page.

  6. If you wish to verify that the inputs on the page are valid before form submission, set the <validation> element as a child of <components> (for more information, see Configuring validation in static forms).
  7. A static layout is recommended for more advanced users or users that may only need to change a few components when submitting the form. It allows users to see the list of pages on the left side and skip to any page at any time.

Related topics