Copy link to clipboard
Copied
Copy link to clipboard
Copied
"Found the line:
changed it to:
<submit format="pdf" textEncoding="UTF-8" target="mailto:"/>
resaved document, and it worked."
------------------------------------------
![]()
![]()
![]()
![]()
<submit format="xml" textEncoding="UTF-8" target="mailto:"/>
Copy link to clipboard
Copied
Changing the xml to pdf worked great BUT I can't get it to send
in an Adobe 9 reader. I can fill out the form and print but can't email. Any insight for this issue?
Copy link to clipboard
Copied
It works fine for me.
That e-mail button opens a ready-to-send message in Outlook (Using the Outlook account that's active on the computer used).
But in any case the filed-out PDF can be resaved and attached to any e-mail.
Copy link to clipboard
Copied
It may be because I created the original pdf in Acrobat 7.0 professional (I've just ordered the upgrade to 9 Pro)-
who knows but anyway j.multimedia you are the bomb!! I was so not happy with Reader 9 that I didn't even think to save a copy and email. Thanks.
Copy link to clipboard
Copied
j_multimedia wrote:
Years late, I know. But I'll post this for others
like me who founds this thread while googling for an anwser.
What I finaly did:
Found the line:
<submit format="xml" textEncoding="UTF-8" target="mailto:"/>
changed it to:
<submit format="pdf" textEncoding="UTF-8" target="mailto:"/>
resaved document, and it worked.
I'm not sure what you meant by "Found the line:". I assume it's a line of code you can reveal in the PDF somewhere.I'd be interested if you could explain how or where you found this line and if changing it is a solution that would work for people without an Adobe LiveCycle Reader Extensions Server.
I'm not an experienced user, but have found that I can simply import the data sent to me in .xml format into an original copy of my PDF form. To do this I used the Forms>Manage Form Data> Import Data options from the menu and imported the .xml file I recieved from a user of my PDF form into an original copy of the PDF form and saved it.
While not really answering the question of how to send a filled in form via email in PDF format, it is a workaround that has met my needs without having the knowlege of how to find the 'line' you're referring to or how to set up an Adobe LiveCycle Reader Extensions Server to make this possible for users who only have Reader and not full Acrobat.
In fact, it was such a relief to find this alternative method that I thought I'd create an account and share it with anyone else looking for a similar solution, quickly.
Copy link to clipboard
Copied
Their probably referring to the XML code that defines the form.
Copy link to clipboard
Copied
If you open the form in LiveCycle Designer then go to View menu and then open in XML format you can find the line they are talking about and modify there.
Copy link to clipboard
Copied
my line of code looks like this in the XML Live Cycle Designer:
<submit textEncoding="UTF-16" xdpContent="pdf datasets xfdf" format="pdf" target="mailto:
I assume it's because my Acrobat is a newer version than when this thread started and it writes it differently.
What changes would I need to make for that email button to work?
Copy link to clipboard
Copied
You might get more response in the LiveCycle Designer forum: http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecycle_design...
Copy link to clipboard
Copied
You are brilliant! This simple process has saved me tons of time and confusion. It's exactly what I was looking for, and I don't have to worry about what software the other users have. Thank you so much!
Copy link to clipboard
Copied
I'm using Adobe LiveCycle Designer 8.0 and have the same problem.
I changed the line <submit format="pdf" textEncoding="UTF-8" target="mailto:"/> and nothing happened ![]()
Can anybody helpme pl
Copy link to clipboard
Copied
I need the submit button to send me the email without the client side email program poping up. I want it to work like a form submit buttom only I want the pdf file sent to my email. The mailto: option calls the email client. Is their a server side script or way to do this I'm using acrbat 9 pro.
Copy link to clipboard
Copied
You would use the submitForm() method, and there you have the option to send it as PDF.
Then you would have to set up your server to either send you a notification mail that you can download the received PDF, or have it sending you the PDF.
For those server-side scripts, you'd have to dig around a bit.
HTH.
Max Wyss.
Copy link to clipboard
Copied
Check out www.PDFEmail.net
PDFEmail.net generates server-side ASP.net scripts that can e-mail PDF form data formats (FDF,XFDF,XDP,XML), LiveCycle and Acrobat PDF formats, as well as raw data submissions.
PDFEmail.net sends the PDF attachment w/o third party e-mail software.
No Programming Neccessary, but, the scripts can be fully modified.
Works on .Net 1.1, 2.0 to 4.0 web servers.
for more info: www.pdfemail.net
PDFEmail.net utilizes iTextSharp technologies.
Copy link to clipboard
Copied
//@@SUBMITURL "mailto:abc@xyz.com?subject=Submitting Completed Form&body=Instructions to add this form to a responses file:\n1. Double-click the attachment.\n2. Acrobat will prompt you to select a responses file.&ui=false"
/**************************************************************
AdobePatentID="B643"
**************************************************************/
var AdobePatentID = "AdobePatentID=\"B643\"";
// initiate some constants
var METADATA_ANNOT_NAME = "adhocFormState";
var PROP_RESPONDENT_NAME = "respondentName";
var PROP_RESPONDENT_EMAIL = "respondentEmail";
var currentDoc;
if (typeof(xfa) == "object")
currentDoc = event.target;
else
currentDoc = this;
// Only on Viewer/Reader older than 9.0, we'll do the following tasks.
var bAnonymous = false;
var bContinue = true;
if (app.viewerVersion < 9.0) {
// show the email/name dialog if not anonymous
if (!bAnonymous && !currentDoc.dynamicXFAForm) {
var result = currentDoc.askUserIdentity(currentDoc);
if (result == null)
bContinue = false;
else {
var annot = currentDoc.getAnnot(0, METADATA_ANNOT_NAME);
if (annot != null) {
var arrProps = new Array();
arrProps = annot.contents.split(";");
currentDoc.setProperty(arrProps, PROP_RESPONDENT_NAME, result.name);
currentDoc.setProperty(arrProps, PROP_RESPONDENT_EMAIL, result.email);
annot.contents = arrProps.join(";");
}
}
}
// show the select client dialog
if (bContinue) {
var result = currentDoc.askEmailClient(currentDoc);
if (result == null)
bContinue = false;
else if (!result.send) {
app.execMenuItem("SaveAs");
bContinue = false;
}
}
}
// submit the form
if (bContinue) {
var rawURL = "abc@xyz.com?subject=Submitting Completed Form&body=Instructions to add this form to a responses file:\n1. Double-click the attachment.\n2. Acrobat will prompt you to select a responses file.&ui=false";
var submitURL;
if (app.viewerVersion < 9.0)
submitURL = "mailto:" + rawURL;
else
submitURL = "mailto:" + escape(rawURL);
currentDoc.submitForm({
cURL: submitURL,
cSubmitAs: "PDF"
});
}
Copy link to clipboard
Copied
I've used this code in the past for creating and distributing forms, however I'm now having problems with updating the email address to a new recipient.
I created an updated PDF and have changed the mailto in the first line and down the bottom to the new recipient, however when I distribute it, the old email is still there!
Is there anywhere else I need to be updating the mailto for this to change over to the new recipient?
Thanks in advance!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more