LiveCycle LifeLine Weblog

Modifying email when emailing a form

January 28, 2009 · 17 Comments

Very common request – I am able to email a pdf form great, but how do I change the email recipients,Subject,Body. I found a very useful post on Stefan Cameron’s blog
http://forms.stefcameron.com/2008/08/28/submitting-form-data-by-email/
I copied his code to create a similar form
The form is posted hereClick here to get the pdf
This form submits the whole pdf as email attachment.
If you are using Acrobat 8.x and above you will have no problem is testing the form out
But if you are using Reader to test the form, it will not work unless you Apply Reader Rights
The instruction to apply Reader rights are here
http://eslifeline.wordpress.com/2008/05/14/submit-pdf-by-email/
Let me know if you have any questions
Thanks
Girish

Categories: Modifying Email field · Submit PDF by Email
Tagged:

17 responses so far ↓

  • Xancholy // February 19, 2009 at 9:59 pm | Reply

    Very useful Girish ! Thanks – I tried Stefan’s solution but this is extremely plug’n'play friendly.

  • John // March 9, 2009 at 3:20 pm | Reply

    Girish,

    I’m trying to change the default email body that is generated after the user click on the submit by email button. I’d like it to say something like, “Thank you for submitting this form” instead of what currently appears. Any suggestions? Thanks!

  • joe // April 1, 2009 at 8:11 pm | Reply

    I’d like to skip the “Select email client” popup when submitting a PDF form to be emailed. The client “doesn’t like that many clicks”, and this is the one she wants to get rid of. The window asks the user to select between Desktop Email Application, Internet Email, or Other. Thanks!

  • Taizum // April 5, 2009 at 7:26 am | Reply

    This will work for everyone

    Open the Form in LiveCycle Designer
    Add a button object to the form
    Update the caption to something like ’submit the form’ or ‘email the form’
    Change the Control type of the button to Submit
    Click on the Submit tab and choose PDF for the ‘Submit as’ type
    Update the submit URL e.g. mailto:bla@bla.co
    Add usage rights to the file. Note: This step is required to get the get this functionality in Adobe Reader. Usage rights can be added using LiveCycle Reader Extensions (or) you can add usage rights in Acrobat 8/9 (Acrobat 8: advanced > Enable usage rights in Adobe Reader; Acrobat 9: advanced > Extend Features in Adobe Reader). Please note: if you use Acrobat to add usage rights to the form, there is a licensing restriction on the number of users and forms. The Acrobat feature is provided for low volume use. Please refer to the Acrobat product license for full details.

  • Jamie Ritter // April 15, 2009 at 8:34 pm | Reply

    Hi Girish,

    How can i add the current filename to a livecycle document at the bottom of my masterpage. As you would in say a footer of a word doc.

    Please advise.

    -Jamie

  • Dawn // June 18, 2009 at 7:01 pm | Reply

    Hello,
    I am trying to change the email address that the form is being sent to when clicking the “Submit by Email” button. I have changed the email address in the Object Palette but still, when the user clicks on “Submit by Email”, it sends to a different email… Can you help?
    Thank you!
    Dawn

  • Dawn // June 18, 2009 at 8:52 pm | Reply

    I actually came across this while trying to research for the fix…

    I but what do you mean “script”?

  • Jamie Ritter // June 22, 2009 at 12:19 pm | Reply

    Girish,

    I was asking how you add the filename of a PDF doc at the bottom of the masterpage. Like a footer or page number. Would i have to script something like that?

    • Girish Bedekar // June 22, 2009 at 5:39 pm | Reply

      Hi Jamie
      I have sent you the form which does what you wanted

      you just need to add the following script in the calculate event of the text field
      event.target.documentFileName;

  • Nicky // August 12, 2009 at 1:32 pm | Reply

    Hi there, I am using Adobe Designer 7 and Acrobat Professional 7 so therefore cannot find how to apply reader rights. I can get my PDF to email as a PDF which is great but I want to change the text that appears in the email that says

    The attached file contains data that was entered into a form. It is not the form itself.

    The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating a spreadsheet from several data files. See Help in Adobe Acrobat Professional 7 for more details.

    As this isn’t true?!?!!? Sorry if I am being really dense – have tried both ways of adding a Submit button and changing XML to PDF and adding a normal button and choosing PDF that way but obviously neither of these affects the default email body text. I would really appreciate some help – thank you!

    • Girish Bedekar // August 13, 2009 at 8:01 pm | Reply

      Hi
      I do not think you can change the text which is put in the email message. However you can add your own text , I have a post on my blog which explains you the procedure for doing that
      let me know
      thanks
      girish

  • luca // September 10, 2009 at 11:07 am | Reply

    HI Girish,
    i am trying to make this:

    1. form is compiled by user
    2. user clicks on the reader button “submit by email”
    3. user chooses “send by client”
    4. user changes email address
    5. email is sent by user desktop mail client

    Like it is now user cannot choose email address.

    Hope to hear u soon
    bye, and Thanks.

Leave a Comment