Adding a form-level On Load event
- Open the form or report to which you want to add a form-level On Load event.
-
Select
Form > On Load.
The Javascript window is displayed.
-
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’);
-
Click
OK.
The Form Builder screen is displayed.
- Save the report with the On Load changes.