Accessibility
Advanced Form Creation

Cheridan Smith

Created:
6 April 2009
User Level:
Advanced
Products:
LiveCycle

Foundation Form Creation excerpt: Performing advanced form scripting

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.

JavaScript enables the appropriate subform to display upon selection of Credit card in the Payment options drop-down list.

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:

  • About scripting in LiveCycle Designer
  • Using statement completion in the Script Editor
  • Adding a world of automation using JavaScript
  • Separating form and function: Creating a Script object

Prerequisites

Knowledge of LiveCycle Designer ES.

Requirements

In order to make the most of this article, you need the following software and files:

LiveCycle Designer ES

Sample files

Read the complete chapter

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.

About the author

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.