A step-by-step wizard form that guides users through multiple pages. You'll learn how to create multi-page forms with navigation, progress tracking, and cross-page data access.
addPages()addPage()currentPageIndex()Multi-page forms (wizards) break complex forms into manageable steps. This improves user experience by reducing cognitive load and allowing users to focus on one section at a time.
Navigation between pages is handled automatically!
Start by calling form.addPages() to create a pages container, then add your first page with pages.addPage(id).
Add multiple pages by calling addPage() multiple times. Each page gets a unique ID and can contain its own set of fields.
Each page can contain subforms for better organization. This is especially useful for complex forms with multiple sections per page.
Use pages.currentPageIndex() to track the current page and build a dynamic progress indicator.
currentPageIndex() method returns a 0-based index. Content added to the form before or after the pages container is always visible (perfect for progress bars!). Add content before or after the addPages() call to create persistent headers and footers that remain visible on all pages.
addPages() appear at the top, rows added after appear at the bottom. Access fields from other pages to create summaries or validation. Store page/subform references in variables to access their data anywhere.
computedValue. PagesBuilderTsFormTsExcellent! You've mastered multi-page forms. Ready to learn about computed values for dynamic calculations?
Continue to Computed Values TutorialSee it in action:
Other learning paths: