Adding scripts to your forms brings a whole new level of interactivity for the user. For example, you can anticipate exactly what a user is going to do and ensure that they do what you want them to do. Or, also using scripts, you can adjust the form to respond to a user's response, thus customizing the form on the fly in response to user inputs.

Figure 8-27. JavaScript enables the appropriate subform to display upon selection of Credit card in the Payment options drop-down list.
This chapter covers the following topics:
Knowledge of LiveCycle Designer ES.
In order to make the most of this article, you need the following software and files:
Used with permission of friends of ED. For more information about the book, visit Foundation Form Creation with Adobe LiveCycle Designer ES. Like what you read? Buy the book.
Cheridan has been involved in Web Development and Design since 1997 when she began working on a research team for the Y2K Millennium Bug. It was here she learnt about the internet and promptly fell in love with the medium. In her career she has been responsible for websites in the early 00's such as Weight Watchers Australia and Quicken.com.au, and worked as Creative Services Manager of Yahoo!7 in Australia on clients such as Toyota, 20th Century Fox and Ford. Currently she is working as a Senior Interactive Project Manager for an Australian advertising agency.