Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

How send filled form via email in PDF format not XML when button clicked

New Here ,
Jul 23, 2008 Jul 23, 2008
684.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 08, 2010 Apr 08, 2010

"Found the line:

changed it to:

<submit format="pdf" textEncoding="UTF-8" target="mailto:"/>

resaved document, and it worked."

------------------------------------------

Thank you !!!!!!!!!!

<submit format="xml" textEncoding="UTF-8" target="mailto:"/>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 07, 2010 May 07, 2010

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 07, 2010 May 07, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 07, 2010 May 07, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 29, 2010 Sep 29, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 03, 2011 Apr 03, 2011

Their probably referring to the XML code that defines the form.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 30, 2013 May 30, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 09, 2014 Jan 09, 2014

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 09, 2014 Jan 09, 2014
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 19, 2014 Nov 19, 2014

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 25, 2010 Aug 25, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 13, 2011 Apr 13, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 14, 2011 Apr 14, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 16, 2011 Oct 16, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 16, 2014 Feb 16, 2014

//@@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"

    });

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 23, 2014 Nov 23, 2014

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines