Writing Scripts

When editing or creating a JavaScript function in the custom JavaScript file, you can insert any valid JavaScript between the function's opening and closing braces - { and }. You can also add additional functions to the Script file to be referenced within your code and create global variables in the standard JavaScript manner. Note, however, that the scope of functions and variables will only be within the Script file and you can't reference them within JavaScript expressions used in the Disabled and Visible properties.

The Disabled and Visible properties JavaScript expressions can contain any standard JavaScript and follow the naming conventions for forms, pages, Elements and properties described below.

 

For JavaScript developers, additional more advanced information can be found in the topic: Advanced Scripting for JavaScript Developers.