Using the Jump to Page Rule

Use a Jump to Page rule to navigate automatically to a specific page in the form based on one or more conditions. This is useful if some pages do not apply to all the form’s users. Even fields marked as required on the skipped pages can be successfully skipped using this rule.

important

This action does not appear in the rule builder unless the form has multiple pages.

In this example, there are three pages:

  • First time camper?: a required single selection field with two options: Yes and No
  • A second form page called New Camper Information
  • A third form page called Success

If the user selects no on the first page, the form skips the second page and proceeds to the Success page.

Configuring the Jump to Page Action Rule

To configure the Jump to Page Rule:

  1. Click the Rules tab.

  2. Click the Add (Add) button.

  3. Select First Camper? from the If dropdown menu.

  4. Select Is equal to from the second dropdown menu.

  5. Select Value from the third dropdown menu.

  6. Select No from the last dropdown menu.

  7. Select Jump to Page from the Do dropdown menu.

  8. Select the Success page to bypass the New Camper Information page.

    Create the conditions and action.

  9. Click Save when finished.

note

It’s best to use the is not equal to condition with fields existing on the same page. Forms checks the first field, and if it is returned as true, it skips the second field.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy