OnLoad Property

The OnLoad property specifies a JavaScript to be run when the form is displayed.

Applies to: Forms.

Setting dynamically: No.

Property Settings:

Enter the name of the JavaScript file with the extension. For example, TestScript.js. The JavaScript file must be included in the project.

The file should not be embedded or linked. The javascript file will be available at local run time. For remote deployment it must be assigned to a web server.

The referenced JavaScript file must begin with:

function formOnLoad()