Adding JavaScript to Layout Templates
To add JavaScript to a layout template:
Access the JavaScript page. (Select
and click the JavaScript tab.In the JavaScript Name field enter a name for the JavaScript name.
In the Template JavaScript long edit box, enter the JavaScript code.
Click the Save button.
Note that the system does not perform any JavaScript validation.