SuiteScript 2.x Form-Level Script Deployments

In some cases, you might want to deploy a client script on only one form. To do this, you attach the script to the form. You can attach a client script to a custom entry form, a custom transaction form, or a custom address form.

Only client scripts can be attached to forms (all other types of entry point scripts are deployed at the record level). When you attach a client script to a form, it runs on that form only.

For more information about the difference between form-level and record-level script deployments, see Record-Level and Form-Level Script Deployments. For help with record-level deployment, see SuiteScript 2.x Record-Level Script Deployments.

With both custom entry forms and custom transaction forms, you can also include logic in the script to create a custom action such as a button or a menu item. For custom address forms, you can deploy the script on the form, but you cannot configure custom actions.

For more information about deploying a client script at the form level and creating custom actions, see the following help topics:

Related Topics

SuiteScript 2.x Entry Point Script Creation and Deployment
Record-Level and Form-Level Script Deployments
SuiteScript 2.x Entry Point Script Validation
SuiteScript 2.x Record-Level Script Deployments

General Notices