Share via


Adding and Modifying Scripts in the Forms Designer

There are two ways to add new scripts or modify existing scripts in the Forms Designer:

  • Modify the form, click on the Forms Script tab, and then click the New Script button or double-click an existing script.

  • Click "Create New Script ..." in the Design Object Pane or double-click an existing script.

To associate a script with a form, you must modify the form, go to the Form Scripts tab, and check the box of the script you want. Each form has a separate copy of the "System callouts script" in JavaScript that handles the Forms events; consequently, you can only use the Form Scripts tab to modify this script.

You can create your script using either JavaScript or VBScript. When you name your script, you can give it any name that will identify it for you or other Forms designers. The Forms tool user will not see the script name. Remember that when you are naming a script, the name must be unique for the Forms tool. Two or more forms within the same Forms tool can use the same script, but cannot have a different script with the same name. There is currently no mechanism for sharing scripts between different Forms tools or templates.

See Also

Concepts

Using Scripts in the Groove Forms Tool