Adobeо LiveCycleо Designer by leader6

VIEWS: 7 PAGES: 6

									Creating Dynamic Forms with
Adobe® LiveCycle®
Designer




J.P. Terry
Contents
            Foreword ...................................................................................... xi
            Introduction ............................................................................... xiii

CHAPTER 1   The Basics .......................................................................................1
            What is LiveCycle Designer?.....................................................................1
                A Tool for Creating Interactive and Dynamic Forms ............................1
                Tool for Creating XFA-based Forms ....................................................4
                A Multifaceted Tool ..............................................................................7
            Getting Started ..........................................................................................9
                Installing LiveCycle Designer ...............................................................9
                Downloading the Samples Folder .......................................................10
                Starting LiveCycle Designer ...............................................................10
                The First Screens You'll See ..............................................................12
            Your First Look at the Workspace ...........................................................13
                The Designer Workspace ...................................................................13
                Palettes and Objects...........................................................................15
            Designer's Flexibility for Different Users..................................................16
                Knowledge Workers Start with a Template ........................................16
                Graphic Designers Start with a Page .................................................17
                Data Designers Start with a Schema..................................................18
                Web Designers Start with an Interaction ............................................18
                Bringing It All Together .......................................................................19
            Creating Your First Forms .......................................................................19
                Method 1: Starting from a Blank Form................................................19
                Method 2: Creating a Form Based on a Template .............................22
                Method 3: Creating a Form Based on a PDF File ..............................26
                Method 4: Creating a Form Based on an XML Schema.....................28
                Interactive Form Example ...................................................................30
                Dynamic Form Example .....................................................................31
            Moving On… ............................................................................................33
CHAPTER 2   Form Design.................................................................................35
            The Importance of Form Design ..............................................................36
                The Form as a Brand Touch Point ....................................................36
                The Form as an Indicator of Service/Product Quality.........................38
                Good Form Design Saves Time and Money ......................................39
                Improving Form Aesthetics Improves Usability .................................39
            Principles of Good Form Design .............................................................40
                Simplicity .............................................................................................40
                Consistency ........................................................................................48
            Graphic Design Tips ................................................................................51
                Choosing a Font .................................................................................52
                Creating a Hierarchy Through Font Style and Size ............................55
                Other Typography Tips .......................................................................58
                Clearly Relate Captions to Actions .....................................................60
            Interaction Design Tips ............................................................................63
                Guiding with Button Design ................................................................63
                Notifying Before Correcting ................................................................64
                Clarifying Choice with Radio Buttons and Check Boxes ....................67
            Form Guides to the Rescue.....................................................................69
                What Form Guides Are .......................................................................69
                How Form Guides Work .....................................................................71
            Moving On… ............................................................................................72


CHAPTER 3   Form Creation..............................................................................73
            The Workspace .......................................................................................73
                The Layout Editor ...............................................................................73
                The Script Editor .................................................................................75
                The Palettes ........................................................................................76
                Text Objects........................................................................................86
                Graphic Objects ..................................................................................87
                Image Objects.....................................................................................88
                Field Objects .......................................................................................90
                Button Objects ..................................................................................102
                Check Boxes and Radio Buttons ......................................................102
                From the Simple to the Complex ......................................................103
            Master and Body Pages ........................................................................104
                Master Pages ....................................................................................104
                Body Pages ......................................................................................105
                Examining Master Page Properties ..................................................106
                Examining Body Page Properties .....................................................107
            Subforms and Flow ................................................................................108
                How Subforms Work .........................................................................109
                Subforms and Data Files ..................................................................113
                Subforms and User Interaction .........................................................114
            Tables ....................................................................................................115
                The Table Object ..............................................................................116
                The Table Assistant and Table Menu ...............................................116
                Dynamic Tables ................................................................................117
            Fonts and Tabbing .................................................................................119
                Embedding Fonts..............................................................................119
                Tips on Tabbing ................................................................................121
            Moving On… ..........................................................................................123


CHAPTER 4   Form Scripting ...........................................................................125
            The Benefits of Scripting ......................................................................126
            FormCalc and JavaScript .....................................................................129
                FormCalc ..........................................................................................129
                JavaScript .........................................................................................131
            The Script Editor ....................................................................................132
                The Script Editor in Single-line View ................................................132
                The Script Editor in Multiline View ....................................................133
            Basic Scripting .......................................................................................136
                Your First Scripts ..............................................................................136
                Properties .........................................................................................139
                Variables ...........................................................................................142
                Referencing Objects .........................................................................147
            The Form Object Model .........................................................................152
                Understanding the Object Model ......................................................152
                Scripting the Form Object Model ......................................................155
            Events ....................................................................................................164
                Examples of How Events Work ........................................................164
                Types of Events ................................................................................166
            Script Objects ........................................................................................170
                Creating a Script Object ...................................................................170
                Writing Functions in Script Objects...................................................171
                Referencing Functions in Script Objects ..........................................172
            Debugging Scripts .................................................................................173
                The Warnings Tab of the Report Palette ..........................................173
                The JavaScript Debugger .................................................................176
                The Message Box Method ................................................................177
            Moving On… ..........................................................................................178


CHAPTER 5   Form Data...................................................................................179
            Data Basics............................................................................................180
                Working with Data in Acrobat ...........................................................180
                Working with Data in Designer .........................................................182
                Formatting Data ................................................................................184
                Submitting Data ................................................................................189
            Data Binding ..........................................................................................191
                Binding Form Elements ....................................................................191
                Types of Binding ..............................................................................195
            Data Validation ......................................................................................199
                Validating Data Using the Empty Message Field .............................200
                Validating Data with Patterns ...........................................................203
                Validating Data with Scripting ...........................................................206
                Form Validation with Scripting ..........................................................207
            Barcodes ................................................................................................207
                Barcode Types ..................................................................................207
            Retrieving Data from Web Services ......................................................210
                Connecting to a WSDL File ..............................................................212
                Calling the Web Service ...................................................................217
                Creating a Bible Verse Lookup Form ...............................................218
            Moving On… ..........................................................................................224
CHAPTER 6   Steal These Scripts .....................................................................225
            Short Scripts ..........................................................................................226
                Message Box Scripts ........................................................................226
                Mutually Exclusive Check Boxes ......................................................228
                Changing Background Colors ...........................................................229
                Changing images ..............................................................................231
                Setting a Field as Required ..............................................................232
                Working with Page Numbers ............................................................232
                Get Today's Date ..............................................................................233
            Medium Length Scripts ..........................................................................233
                Disabling All Form Fields .................................................................234
                Add Time to Date ..............................................................................235
                Identifying Text Fields by Partial Name ............................................237
                Sending Email Through Scripts ........................................................238
                Calculating Totals for Repeating Objects .........................................240
                Sorting Items in a List Box ................................................................241
            Long Scripts ...........................................................................................243
                Highlighting Required Fields .............................................................243
                Date Validation .................................................................................246
                Dynamic Entry Subform ....................................................................248
                Validating User-entered Text in a Drop-down List ............................251
                Calling a Web Service ......................................................................254
            Moving On… ..........................................................................................256


            Resources ....................................................................................257
            Index ...........................................................................................259

								
To top