This simple article explains how to send XFA form data as an email in two possible ways.
Why does the client need to send data as email?
If your clients use Adobe Reader instead of Adobe Acrobat Pro, they cannot save the filled forms, so therefore posting the data or sending via email are the only possibilities they have.
Option 1: [Adjust XML source to send email]
Create a text field and a quantity field called product and quantity.At this stage, you then insert an email Submit button which can be obtained from Object Library.
<subform w=”576pt” h=”756pt”>
<field name=”product” y=”9.525mm” x=”6.35mm” w=”62mm” h=”9mm”>
…….//other stuff goes here
</field>
<field name=”quantity” y=”22.225mm” x=”6.35mm” w=”62mm” h=”9mm”>
…….//other stuff goes here
</field>
<field name=”EmailSubmitButton1″ y=”38.1mm” x=”6.35mm” w=”34.925mm” h=”6mm”>
<event name=”event__click” activity=”click”>
…//other stuff goes here
<submit format=”xml” textEncoding=”UTF-8″ target=”mailto:”/>
</event>
</field>
</subform>
Once you have created the form you just need to alter the value of the target attribute to your target email address.
Example:
<submit format=”xml” textEncoding=”UTF-8″ target=”mailto:iam@myemail.com“/>
Option 2 : [ use field tab under object tab ]
Another simple way is to use the field properties and alter the email address to your target address. See the screenshot below:
Now you can save the form as PDF and start sending emails.
Do you need to solve any of these problems?
Use PDF Forms in the Web Browser |
Integrate PDF Forms into Web Apps |
Convert PDF forms to HTML5 |