Calling External JavaScript Functions
Often, a single JavaScript function is useful for many different forms. Typical utility functions are reused commonly, such as functions for validating common types of input, or for making calls to external services, and so on.
It is not necessary to rewrite or copy these functions from one form to another. To facilitate reuse, common JavaScript can be placed in one or more JavaScript files external to the form. These JavaScript files are deployed to the WebDAV server with your form files, and can be used by multiple forms in the browser client.
To use an external JavaScript file in a form, you need to add it to the form resources. Once added, the JavaScript files get deployed automatically when the form is deployed, and loaded at runtime before the form is loaded.