Setting rules on pages in an applicationAdded by IBM on October 26, 2012 | Version 1 (Original)
|You can set rules that govern how pages are shown or hidden in a form.
Before using the following steps, create an application with two pages.
Rules in the IBM
® Forms Experience Builder can help you administer a form so different groups of users are asked for different information. You can add multiple Boolean conditions, such as AND, or OR, for each rule. The following example hides form pages from users whose salary does not meet the rule qualification of $30,000. To use the steps below, you must have multiple pages in your form.
Parent topic: Creating rules in your application
- On Page 1 of your form, add a Currency item to your form and title it Salary.
- In the Outline view located to the right of the form, go to Page 2, and click the Edit Properties icon.
You must configure the rule on the page where the rule applies, rather than the page from which the rule is triggered. In this example, the user is not shown Page 2 of the form if their responses do not fit the rule. Therefore the rule is set on Page 2 of the form, rather than Page 1 where the user provides the response.
- Click the Rules tab in the Edit Properties window.
- From the menu beside "This page is", select not be able to navigated to.
The are met option is selected by default and does not need to be changed for this example.
- Click Add Condition.
- In the "Where" menu, select Salary.
- Set the operation to Less than.
- Type 30000 in the blank field to the right of the Value menu.
- Click OK to save your changes and close the Edit Properties window.
The rule is now set so if a user enters less than $30,000, they are not shown the second page of the form.