www.pdfscripting.com Copyright © 2008 by WindJack Solutions, Inc.
Examples: Dynamically Setting a Submit by Email Address
By Thom Parker, WindJack Solutions, Inc.
Example #1: Using a Value from a Form Field to CC the Email
form data is attached. In order for the form submit to work properly the user must have an email client on there system. Two
In this example the email and name fields in the “Personal Data” form section below are used to build an email to which the
examples are provided, one using the “doc.mailDoc()” function which attaches the form data in FDF format, and the “doc.
submitForm()” function which is setup to attach the form data in a generic XML grammar.
*
First Name:_____________________
*
Last Name:_________________________________
Street Address:______________________________________________________________
City:____________________________ State or Province:____________________________
Country:________________________________ Postal Code:________________________
*
Email:_____________________________ Phone Number:______________________
*
First Name:_____________________
*
Last Name:_________________________________
Street Address:______________________________________________________________
City:____________________________ State or Province:____________________________
Country:________________________________ Postal Code:________________________
Email:_____________________________ Phone Number:______________________
*
-
Required Fields
Client Information
Beneficiary Information