Description: By default XFA based forms are setup to submit XML (XDP data) when a user clicks the submit button. This is a quick and easy recipe for creating a submit button that will send the entire PDF form as an attachment to an email.
- 1 PDF form created in Adobe LiveCycle Designer
- Open the Form in LiveCycle Designer
- Add a button object to the form
- Update the caption to something like ‘submit the form’ or ’email the form’
- Change the Control type of the button to Submit
- Click on the Submit tab and choose PDF for the ‘Submit as’ type
- Update the submit URL e.g. mailto:email@example.com
- Add usage rights to the file. Note: This step is required to get the get this functionality in Adobe Reader. Usage rights can be added using LiveCycle Reader Extensions (or) you can add usage rights in Acrobat 8/9 (Acrobat 8: advanced > Enable usage rights in Adobe Reader; Acrobat 9: advanced > Extend Features in Adobe Reader). Please note: if you use Acrobat to add usage rights to the form, there is a licensing restriction on the number of users and forms. The Acrobat feature is provided for low volume use. Please refer to the Acrobat product license for full details.
Customizing the subject: To specify the subject you can use the standard mailto sytax. e.g. mailto:firstname.lastname@example.org?subject=bla.pdf for the submit URL.
Here is a sample file: basicemailsubmit_readerenabled. This file was created in LiveCycle Designer and usage rights were applied in Acrobat Pro.