4 Replies Latest reply on Sep 28, 2015 12:58 PM by FrankB@FDA

    problems emailing PDF form

    Hunter191919

      Hi,

       

      I got a problem:

       

      I'm trying to ad a email button in a form using live cycle 4 on windows.

       

      It al works fine submitting XML, but just won't work for PDF.

       

      I have used all variations (common button, email button, adding java script behind the button) It works with XML, just not with PDF...

       

       

      Can annyone help?

        • 1. Re: problems emailing PDF form
          Hunter191919 Level 1

          Use acrobat:

           

          To attach a filled copy of your form to an email you have to add usage Rights to the form first.

          You can add those rights with Acrobat XI under File > Save As Other > Reader Extended PDF > Enable More Tools.

           

          or

           

          You can add those rights with Acrobat X (mac) under File > Save As Other > Reader Extended PDF > Enable Adittional features

          • 2. Re: problems emailing PDF form
            Hunter191919 Level 1

            Of course this is ridiculous.... 

             

            Can anyone tell me how i do this in ES4???

            • 3. Re: problems emailing PDF form
              jnicholas330 Level 3

              Your answer is correct, unless you have the LiveCycle Server Reader Extensions module, then it can be automated.

              • 4. Re: problems emailing PDF form
                FrankB@FDA

                Hi Hunter...I'm new to JavaScript and LiveCycle Designer ES4 myself but I've managed to figure out how to send an email of my form via a button.  Although, now I'm trying to figure out how to change the attached form name it defaults to, the email still works with a field inserted into the subject and body.

                 

                The button I created is simply a submit button but with the "Control Type" as regular.  I've also added JavaScript to the button.  This works with MS Outlook 2010.  Hope this helps...

                 

                var SbjtStr = "Property file for " + Page1.BC.rawValue;   (Page1.BC.rawValue is a field in my PDF form)

                 

                var bdymsg = "The attached property form (" + Page1.BC.rawValue + ")  is sent for your disposition.";

                 

                event.target.mailDoc(false, "Fb@whateverdomain", "", "", SbjtStr, bdymsg);