Livecycle

Livecycle

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
  • Getting Started
  • Quick Start Tutorials
  • Using LiveCycle Designer ES
  • Using Guide Builder
  • Scripting
  • Menu, Command, Toolbar, and Dialog Box Reference
  • Sample Form Snippets and Forms
  • Glossary
  • Copyright and trademark notices
  • Livecycle
  • Sample Form Snippets and Forms
  • Sample Form Snippets
  • Opening an application from a form
Opening an application from a form
The Opening an Application snippet demonstrates opening a browser to a user-specified URL and a file in Acrobat or Adobe Reader from a form.
In this example, when the Open button is clicked, the user-specified URL opens in a separate browser container.
Livecycle openappbrowser Opening an application from a form
To add script to open a browser to a user-specified URL
Add the following script to the Open button:
app.launchURL(TextField1.rawValue, true);
In this example, when the Open button is clicked, the user-specified URL opens in the current container.
Livecycle openappbrowser Opening an application from a form
To add script to open a browser to a user-specified URL
Add the following script to the Open button:
xfa.host.gotoURL(TextField2.rawValue, 0);
In this example, when the Open button is clicked, the user-specified PDF file opens in Acrobat or Adobe Reader.
Livecycle openappacrobat Opening an application from a form
To add script to open a user-specified PDF file
Add the following script to the Open button:
app.openDoc(FilePath.rawValue);
To see similar examples, visit the LiveCycle ES Developer Center at www.adobe.com/devnet/livecycle.

Opening an application from a form

Livecycle > Opening an application from a form

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
    • Getting Started
      • Quick Start Tutorials
        • Using LiveCycle Designer ES
          • Using Guide Builder
            • Scripting
              • Menu, Command, Toolbar, and Dialog Box Reference
                • Sample Form Snippets and Forms
                  • Sample Form Snippets
                    • About the Sample Form Snippets
                    • Calculating sums of fields
                    • Changing the fill color of a field
                    • Using conditional breaks in repeating subforms
                    • Controlling the display of subforms based on a conditional statement
                    • Allowing multiple lines of text in text fields
                    • Prompting for a file name for exported and imported data
                    • Opening an application from a form
                    • Viewing the data of a paper forms barcode
                    • Validating a date by using a script
                  • Sample Forms
                    • Dunning Notice Sample
                      • E-Ticket Sample
                        • Grant Application Sample
                          • Purchase Order Samples
                            • Scripting Sample
                              • Subform Set Sample
                                • Tax Receipt Sample
                                  • FormGuide Samples
                                  • Glossary
                                  • Copyright and trademark notices

                                  Livecycle

                                  • de
                                  • en
                                  • fr
                                  Powered by Helpmax Guide Source