O'Reilly logo

Creating Dynamic Forms with Adobe by J. P. Terry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Steal These Scripts

Good artists copy, great artists steal.

—Steve Jobs, quoting Picasso

Up to this point, you have been reviewing and writing some rather basic scripts. In many cases, these simple, one-line scripts will solve your business problem. However, Designer does not limit you to minimal scripts. You can create very sophisticated scripts in JavaScript and add them as functions to a Designer script object.

If you are not familiar with JavaScript, you can have a programmer write a set of scripts for you to reuse throughout your forms. If you are a JavaScript expert, you will find that Designer enables you to show off your expertise. Once you understand the XML Form Object Model covered in Chapter 4, “Form Scripting,” you can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required