Define JavaScript functions on a form
You can define JavaScript functions in the form properties. Later, these functions can be called using the JavaScript action. See Add a JavaScript Action to a form.
- On a form, click the form name.
-
On the
Properties bar, click
Settings
.
- On the Extended Properties page, click the JavaScript tab.
-
In the
Script box, enter the
script.
Important The script can contain one or more functions, however you must enter a valid script, otherwise the form fails to load at runtime.
-
Click
Release
.