Copy link to clipboard
Copied
Scenario:
Submitter fills out applicable section of a PDF. Very first text box # 1/field of entry provides for submitters name/email address identifier. After filling in form variables, submitter selects a “SUBMIT” button initiating an email to a processing team’s inbox. Once a recipient reviews/completes, etc, their section of the PDF, they have/can select a second “SUBMIT” button returning the form to the originator identified in text box # 1.
Question:
Is it possible to have the second “SUBMIT” button pull the email address from
the text box # 1 containing the originators email address?
Copy link to clipboard
Copied
Yes!
Visit the following URL to generate a customized script:
fdftoolkit.net/email-pdf-mailto-generator.aspx
- //Place this script in the buttons mouseUp JavaScript event
- //http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf#page=345
- //SUBMIT PDF FORMAT WITH ADOBE READER
- var url = "mailto:" + encodeURIComponent(this.getField("text box # 1").value) + "?subject=ATTN: Processing team&body=See attached file.&cc=&bcc=";
- var submitAs = "PDF";//PDF,FDF,XFDF,XDP,XML
- this.submitForm({cURL:url,cSubmitAs:submitAs});
Copy link to clipboard
Copied
Yes!
Visit the following URL to generate a customized script:
fdftoolkit.net/email-pdf-mailto-generator.aspx
- //Place this script in the buttons mouseUp JavaScript event
- //http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf#page=345
- //SUBMIT PDF FORMAT WITH ADOBE READER
- var url = "mailto:" + encodeURIComponent(this.getField("text box # 1").value) + "?subject=ATTN: Processing team&body=See attached file.&cc=&bcc=";
- var submitAs = "PDF";//PDF,FDF,XFDF,XDP,XML
- this.submitForm({cURL:url,cSubmitAs:submitAs});

