This sample presents a pageflow (or mutli-page) form created with Bonita BPM 7. This resulting form is equivalent to the pageflow form that existed in Bonita BPM 5 & 6.
The form relies on a page.current
variable to store the current visible page.
All of the form's "pages" are stored in Container
widgets and use their Hidden
property to toggle their visibility based on the value of page.current
.
Custom buttons (a custom widget that triggers a JavaScript expression) are then added to each page to trigger the page change by increasing or decreasing the value of page.current
.
Form in UI Designer
Rendered form: