Navigation buttons (form pages)
If you create a multi-page form, you will probably want to provide buttons to enable users to navigate between form pages. A simple solution is to create buttons at the top of the global page (pageNo=0) of the multi-page form.
To create one set of navigation buttons for a multi-page form,
Go to the global page, page 0 of the form (View|Go To Form Page Number).
Select the form itself in the Inspector’s top selection box, and make sure the pageNo property is 0.
From the Component palette drag as many button components as you need to the visual design surface. Ensure that the buttons will not overlap controls appearing on other pages.
Select each button and set its pageNo property to 0 (the global page) so that it will appear on all pages. (Or multi-select the buttons and set the property once.)
Select each button’s text property and change its value to whatever you want on the button, for example Next Page or Previous Page.
For each button, on its Events page, select onClick and click the tool button to display the Source editor. You’ll see a comment for an onClick method. Write the code that will send the user to the appropriate page. Return to page 1 before running the form.