LiveCycle Scripting & Validations

7
Adobe DoD Roadshow Series: Washington, DC November 18, 2008 1 Presented By: Tanya Radzinsky www.aboutweb.com LiveCycle Validations and Scripting Capital Area LiveCycle Usergroup www.dc-livecycle.org

description

 

Transcript of LiveCycle Scripting & Validations

Page 1: LiveCycle Scripting & Validations

Presented By:

Tanya Radzinsky

www.aboutweb.com

LiveCycle Validations and Scripting

Capital Area LiveCycle Usergroup

www.dc-livecycle.org

Page 2: LiveCycle Scripting & Validations

An intuitive tool for creating interactive forms and personalized documents.

Adobe LiveCycle Designer ES

Page 3: LiveCycle Scripting & Validations

Presentation Summary• Validations

• Debugging

• Reusability

Page 4: LiveCycle Scripting & Validations

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.

Page 5: LiveCycle Scripting & Validations

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

Page 6: LiveCycle Scripting & Validations

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

Page 7: LiveCycle Scripting & Validations

Questions?