Adding “page jump” buttons to multiple-page forms and reports

This process enables you to add a button to a form or report page that allows the user to navigate to another page without losing the data entered on the current page.

  1. In the Form Builder, open or create a multiple-page form.
  2. Click the tab of the page to which you want to add the button.
  3. In the Controls Toolbox, click to select the Button control.
  4. Click anywhere inside the workspace to paste the Button control.

    The default button control is labeled “Button”. The Values for the highlighted Button control appear in the Property Inspector window.



  5. Change the Button Name to one that more appropriately describes the purpose of the control.
  6. Change the caption label of the button. This label is displayed on the button’s surface.
  7. Click OK after you have entered the caption.
  8. In the Property Inspector for the new button control, click in the Value field of the Type property.
  9. From the type drop-down list, select Reload.
  10. Click in the Value field of the On Click property.
  11. Click the browse button.
    The Javascript window is displayed.
  12. Specify getElement('_RendererTagFormPageNumber_').value = n; where n + 1 = the page number to which the user will jump after clicking the button.

    For example, the script:

    getElement('_RendererTagFormPageNumber_').value = 2;

    results in the user jumping to page 3.

  13. Click OK to save the script.
  14. Save the form with the Button control changes.


When the user clicks this button on page 2 of the form, page 3 is displayed with the data entered on page 2.