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 ...

Get Creating Dynamic Forms with Adobe now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.