LiveCycle Scripting & Validations

Post on 16-Dec-2014

1,753 views 4 download

Tags:

description

 

transcript

Presented By:

Tanya Radzinsky

www.aboutweb.com

LiveCycle Validations and Scripting

Capital Area LiveCycle Usergroup

www.dc-livecycle.org

An intuitive tool for creating interactive forms and personalized documents.

Adobe LiveCycle Designer ES

Presentation Summary• Validations

• Debugging

• Reusability

Validations• Pattern Validation

– Be sure to put a patter under Validation tab– Very little control

• Script Validation– FormCalc – native Adobe script, used for simple calculations.– JavaScript – flexible script used for more complex scripts.– Can be combined with Pattern Display.

Debugging• Script Checking & Warning Window

• Ability to validate JavaScript script before execution

• Message Boxes• Using host and event models to help you debug

• Acrobat Debugger• Only works with JavaScript• Can Display messages on the console

Reusability• Templates

- Great way to keep your forms consistent- Save time on retyping same old form attributes

• Fragments & Custom Fields- Combines commonly used form elements- Greatly reduces the complexity of forms and improves

maintainability.

• Script Objects- Used to store common JavaScript functions- Reduces repetitive coding

Questions?