Creating scripts using JavaScript

Creating scripts in Designer using JavaScript is similar to creating JavaScript in other applications. You can take advantage of previous knowledge of JavaScript concepts, reuse JavaScript functions using the Designer script object, and take advantage of JavaScript language functionality.

However, notice that although previous JavaScript knowledge is transferable, to effectively use JavaScript on your form design, you must understand how to construct Designer reference syntax. Specifically, you must know how to correctly use the XML Form Object Model reference syntax to access objects on your form design.

This table outlines the key concepts for developing scripts in JavaScript for Designer. The table also provides the location for more information on each concept within the Designer Help .

For more information see.

Creating references to object properties and values, including using the resolveNode method.

Using the host and event models to test and debug your form.

Using a script object to reuse your existing JavaScript functions.

In addition to the resources available in the Designer Help , the Developer Centercontains extensive scripting resources and documentation.