The Script Editor within LiveCycle Designer ES is where you create, modify, and view the calculations and scripts of a particular form.
The Script Editor itself has both a single-line view and a multiline view, which you can easily switch between, depending on your current needs. Single-line view is designed to maximize the amount of space dedicated to the Layout Editor and other palettes, whereas multiline view is designed to maximize the amount of space for writing script.
Livecycle configuring for scripting.94.2.1 About the Script Editor
Lists all form design events that support user-defined scripting. Any events that do not apply to a particular object appear dimmed. Events that contain a calculation or script display an asterisk (*) beside the name of the event.
Livecycle show events button About the Script Editor Displays the event you have currently selected in the Show list for the current object and all of its child objects. If you select the uppermost object in the Hierarchy palette, this option displays the event you have currently selected in the Show list for all objects on your form.
Livecycle functions button About the Script Editor Displays a list of available built-in FormCalc or JavaScript functions, depending on the scripting language you currently have selected in the Language list.
Calculations and scripts execute while the server application (for example, LiveCycle Forms ES) processes the form, except in cases where the HTML client application supports client-side scripting. For example, a script that accesses a database to prefill data on a form.

About the Script Editor