Adding a form-level On Load event

  1. Open the form or report to which you want to add a form-level On Load event.
  2. Select Form > On Load.
    The Javascript window is displayed.
  3. Specify the required code into the Javascript window.

    For example, the following code is used to display a Welcome message each time the user loads the form or report:

    Alert (‘welcome’);

  4. Click OK.
    The Form Builder screen is displayed.
  5. Save the report with the On Load changes.