PDF forms - Change email subject to field content

Hi,
I created a fillable form with a sumbition via email button. When submitting, I need to replace the default email subject "Form Returned: fileName" with the content of a particular field.
I have no idea where to start. Can you help? THanks, Jp

wow! that was quick!I'll give it a try,  thank you! 

Similar Messages

  • Send PDF form to email address user enters in textfield on form.

    I would like to be able to allow the person using the form to choose what email address the PDF form is emailed to. I read this post which sounds like what I want but I keep getting a Submit Cancelled error. The email does get generated and the form is attached as a PDF so that part works okay.
    http://forums.adobe.com/message/4167414#4167414
    This is the code I am using as I only need the To: address populated.
    form1.Page1.Button1::preSubmit:form - (JavaScript, client)
    var strToAddress
    //Capture the values from the form fields.
    strToAddress = txtToAddress.rawValue;
    event.target.submitForm({cURL:"mailto:"+ strToAddress,cSubmitAs:"PDF",cCharset:"utf-8"});

    Hi,
    There is an example here: http://assure.ly/eUR4wJ.
    // Declare the variable
    var vEmail;
    // Check that the email field is not null
    if (txtToAddress.rawValue !== null) {
         vEmail = txtToAddress.rawValue;
    // Send email
    event.target.submitForm({cURL:"mailto: " + vEmail + "?subject=&body=",cSubmitAs:"PDF",cCharset:"utf-8"});
    Niall

  • PDF Form javascript for making readonly field by using button

    Please let me know the PDF Form JavaScript for making selected fields(Text field,Drop down list,..) as read-only by using Button.

    Do you want your button to be made read only?
    One starts with Acrobat JS Reference.
    // make all fields in a form read only;
    var oField; // variable for field being processed;
    // loop through the form fields;
    for (var i = 0; i < this.numFields; i++) {
    // process each field name;
    oField = this.getField(this.getNthFieldName(i)).readonly = true;

  • Offline Interactive PDF Forms Using EMail with WebDynpro for ABAP

    These is a tutorial on implementing Offline Interactive PDF Forms using Email to both send out and receive the form back using WebDynpro for Java.
    Is it possible to implement the same using WebDynpro for ABAP, specifically receiving the forms via email server.
    Regards,
    Mark

    Hi Mark,
    Check this out :
    https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
    Go to section :
    Send, Receive, and Process Interactive Forms via Email in SAP NetWeaver Application Server ABAP (RIG session 4A)
    and for the ABAP WebDynpro :
    SAP Interactive Forms by Adobe in Web Dynpro for ABAP (Session 3A) .
    I managed to make it work in my internal sytem.
    Goodluck.
    Cheers,
    Danny

  • PDF form - email subject line = field

    I am creating a PDF form on our intranet to be filled out and submitted via email with a submit button. All works well, but the recipients would like the subject line of the email to be info from the first field on the form so that it is easily searchable. I am using Adobe LiveCycle Designer 8.0 (also have Acrobat 8 Professional) but haven't found anywhere to edit this info.  I have read thread referencing possible solutions by utilizing javascript, but I'm not sure where to begin where javascript is concerned (not my forte).
    Right now the form is Submitted by Email via a "Button" set to Control Type: Submit. Under the Submit tab I have set the Submit to URL field to - mailto:"emailaddress".
    Also, the recipients mentioned that they can't see the PDF in the body of their email, instead its only an attachment. We are all using Outlook and Outlook Webmail and would like to see the PDF in the body.  Is there an easy way to accomplish this as well?
    Any helpful suggestions would be greatly appreciated!

    Now I understand what you mean .....if you are using a true submit button then the validations will run automatically. If you are using a button for programming and that is calling the submit button then you will have to fire the validations yourself. The command to do this is:
    if  
    (form1.execValidate()){ SubmitButtonName.execEvent("click")
    else {
         app.alert("You have validation errors...");
    where form1 is the root node of your form. If the validations run and there are no errors then it will return a true value and the submitbutton will be pressed. If there are errors then the message box will appear. and the submit will not occur.
    Hope that helps
    Paul

  • Change Email subject line for PDF output through smartforms

    Dear all,
    Currently i am working in Client ECC6.and we are useing The Smartform for Sending PDF document to the Customer.
    Since recently email was setup so these invoices can be mailed directly to the customers, but we face the problem that when invoices are sent via email, the subject is like this.
    From: Ramesh Babu mailto:ramesh_babu@abc
    Sent: Wednesday, August 27, 2008 10:40 AM
    To: Babu, Ramesh
    Subject: New Invoice (mail/prnt).
    Now the customer Requirement is that ,they dont want to disclose the Email address of the sender.
    so they want to change the Form line and one hard codeed line always send to the customer like Ex below.
    From: "Help Me Please'' .
    This will aplicable for all sender ,if he send it by foreground or background as well.
    so could you please sugest me how can i do that coding,or is there a user-exit to overrule the Standard SAP behaviour.
    My Print program name: ZLB_BIL_INVOICE .
    Regards,
    Moni

    Hi,
    refer this,
    you can change the subject line.
    FORM docu_send_email USING pv_otfdata  TYPE tsfotf
                               pv_emailid  TYPE any
                               pv_formname TYPE any.
      DATA: lv_filesize    TYPE i,
            lv_buffer      TYPE string,
            lv_attachment  TYPE i,
            lv_testo       TYPE i.
      DATA: li_pdfdata  TYPE STANDARD TABLE OF tline,
            li_mess_att TYPE STANDARD TABLE OF solisti1,
            li_mtab_pdf TYPE STANDARD TABLE OF tline,
            li_objpack  TYPE STANDARD TABLE OF sopcklsti1,
            li_objtxt   TYPE STANDARD TABLE OF solisti1,
            li_objbin   TYPE STANDARD TABLE OF solisti1,
            li_reclist  TYPE STANDARD TABLE OF somlreci1,
            li_objhead  TYPE soli_tab.
      DATA: lwa_pdfdata  TYPE tline,
            lwa_objpack  TYPE sopcklsti1,
            lwa_mess_att TYPE solisti1,
            lwa_objtxt   TYPE solisti1,
            lwa_objbin   TYPE solisti1,
            lwa_reclist  TYPE somlreci1,
            lwa_doc_chng TYPE  sodocchgi1.
      CONSTANTS: lc_u           TYPE char1  VALUE 'U',
                 lc_0           TYPE char1  VALUE '0',
                 lc_1           TYPE char1  VALUE '1',
                 lc_pdf         TYPE char3  VALUE 'PDF',
                 lc_raw         TYPE char3  VALUE 'RAW',
                 lc_ordform     TYPE char15 VALUE 'ZORDCONFIRM_01',
                 lc_attachment  TYPE char10 VALUE 'ATTACHMENT'.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = lc_pdf
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = lv_filesize
        TABLES
          otf                   = pv_otfdata
          lines                 = li_pdfdata
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT li_pdfdata INTO lwa_pdfdata.
        TRANSLATE lwa_pdfdata USING ' ~'.
        CONCATENATE lv_buffer lwa_pdfdata INTO lv_buffer.
        CLEAR lwa_pdfdata.
      ENDLOOP.
      TRANSLATE lv_buffer USING '~ '.
      DO.
        lwa_mess_att = lv_buffer.
        APPEND lwa_mess_att TO li_mess_att.
        CLEAR lwa_mess_att.
        SHIFT lv_buffer LEFT BY 255 PLACES.
        IF lv_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Object with PDF.
      REFRESH li_objbin.
      li_objbin[] = li_mess_att[].
      DESCRIBE TABLE li_objbin LINES lv_attachment.
    Object with main text of the mail.
      lwa_objtxt = space.
      APPEND lwa_objtxt TO li_objtxt.
      CLEAR lwa_objtxt.
      DESCRIBE TABLE li_objtxt LINES lv_testo.
    Create the document which is to be sent
      lwa_doc_chng-obj_name  = text-008.
      lwa_doc_chng-obj_descr = text-008.
      lwa_doc_chng-sensitivty = lc_0.
      lwa_doc_chng-obj_prio = lc_1.
      lwa_doc_chng-doc_size = lv_testo * 225.
    Pack to main body.
      CLEAR lwa_objpack-transf_bin.
    header
      lwa_objpack-head_start = 1.
    The document needs no header (head_num = 0)
      lwa_objpack-head_num   = 0.
    body
      lwa_objpack-body_start = 1.
      lwa_objpack-body_num   = lv_testo.
      lwa_objpack-doc_type   = lc_raw.
      APPEND lwa_objpack TO li_objpack.
      CLEAR lwa_objpack.
    Create the attachment.
    Fill the fields of the packing_list for the attachment:
      lwa_objpack-transf_bin = gc_x .
    header
      lwa_objpack-head_start = 1.
      lwa_objpack-head_num   = 1.
    body
      lwa_objpack-body_start = 1.
      lwa_objpack-body_num   = lv_attachment.
      lwa_objpack-doc_type   = lc_pdf.
      lwa_objpack-obj_name   = lc_attachment.
      lwa_objpack-obj_descr  = text-008.
      lwa_objpack-doc_size =  lv_attachment * 255.
      APPEND lwa_objpack TO li_objpack.
      CLEAR lwa_objpack.
      lwa_reclist-receiver   = pv_emailid.
      lwa_reclist-rec_type   = lc_u.
      lwa_reclist-notif_del  = gc_x.
      lwa_reclist-notif_ndel = gc_x.
      APPEND lwa_reclist TO li_reclist.
      IF li_reclist IS NOT INITIAL.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = lwa_doc_chng
            put_in_outbox              = gc_x
          TABLES
            packing_list               = li_objpack
            object_header              = li_objhead
            contents_bin               = li_objbin
            contents_txt               = li_objtxt
            receivers                  = li_reclist
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            OTHERS                     = 8.
        IF sy-subrc <> 0.
             MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDFORM.                    " DOCU_SEND_EMAIL

  • How can I get a PDF form to email to me when it is hosted online?

    Ok, I'm not a coding expert, but I understand CSS and html alright.
    I am trying to create a PDF form for my website: www.pantherapressdesign.com.
    I have already created the forms (they are under the purchase section of the site) and when they are saved to the harddrive they work just fine. HOWEVER, when you fill them out and they open in the browser they will not submit to me (aka. I don't get them by email, even though the submit button correctly re-directs you to the thanks page).
    In the fuctions of the submit button I have it set to mailto:[email protected]
    When the form is saved on the hard drive (I open it from the desktop) and click submit it brings up a dialog box and asks me how I want to send it. I then choose desktop mail service, it opens it in an email and sends it.
    I want customers to be able to click the form from the website - fill it out right there in the browser - and then be able to submit it to me that way.
    I am assuming I must route this through the php or something, but am not sure how to do that. I have the php working for the contact from on the website, but I don't know php so I used pre-written code to do that. Is there some simple code I can drop into my php that will handle these forms? Help, please! Thanks

    I looked at the Stationary form, and there are a number of things you need to change. It is currently set up to submit as "HTML", as opposed to FDF, XFDF, or the entire PDF. This is fine if you're submitting the form to a web server, which can read the field data, place it in an email, and send it off. This is actually much preferred to relying on the user's machine being set up properly to send an email. Many are not and not receiving order that someone thought was submitted will be bad for your business. Consider removing the existing forms today and you can update when they are working.
    Your web hosting service likely has a PHP script that is designed to work with HTML forms and send an email with the form data included. This can work with a PDF form if the form is correctly set up. To do that, you will need to know how the script works and what it is expecting in the way of form data when it processes a submission. The PHP script should also be modified to send an appropriate response back to the user, which can be a simple redirect. The way you have it now with a link to the redirect page is wrong. It goes there whether the form is complete or not and whether the email actually got sent. This can be avoided by having the web server take care of this.
    If you don't have the expertise to modify the form to suit the PHP script and PHP script to suit the workflow, you'll need to find someone who does.

  • Elementary Problem With Submitting A PDF Form Via Email?

    Hello all!
    I'm brand new to creating forms with Adobe.  I have Acrobat X Pro.  I have created a form with multiple fields to fill in and placed a button at the top of the form.  Under button properties I selected the submit a form option under the actions tab and chose to email the entire pdf file.  Where it says enter a URL for this link I put mailto: and my email address.
    When I click on the submit button I choose the desktop application option as I use Outlook exchange. (that could be the problem?)  I click on the ok button and immediately get a pop up box that says "Either there is no default mail client or the current mail client cannot fulfill the messaging request.  Please run Microsoft Outlook and set it as the default client.
    I have no idea how to fix this issue or if I'm creating the submit form improperly.  My goal is to get an exact copy of the completed Adobe form emailed to the specified email address.  Any help would be much appreciated!
    Mike

    To answer some of your specific questions:
    2, 3. The submit form button needs to be on the PDF. You can either configure a Submit Form action or use the submitForm JavaScript method.
    4, 6: No to both questions. You can create the form in Acrobat. Such forms are knows as Acroforms, as opposed to XFA forms that are created with LiveCycle Designer. Acroforms have wider support.
    5: Yes, that's the method that's used when submitting to a web server. You have your choice of formats. The "HTML Form" option causes the form data to be submitted in the same format as an HTML form, so the same type of server-side code can be used to process the data. As Dave's tutorial shows, the server should return an FDF as the response, however, as opposed to HTML content.
    It's a mistake to try to embed the PDF in a web page. So much depends on the user's browser, PDF viewer, and how both are configured. PDF forms can be submitted directly from Adobe Reader/Acrobat, so it's not necessary for them to be viewed in a browser. Note that Adobe Reader for iOS/Android don't yet support submitting to a web server (apart from FormsCentral), but that's is supposedly being worked on.
    Since you mentioned digital signatures, be aware that for Reader users to be able to sign, the document has to be Reader-enabled, either with Acrobat Pro or LiveCycle Reader Extensions (which is not the same as LiveCycle Designer). Digital signatures in PDF forms are not yet supported on mobile devices. Also, you will want to submit the entire PDF, as opposed to just the form data, when submitting a digitally signed form.

  • PDF Forms on Adobe Reader Touch - missing content

    Dear community
    I created a set of PDF-forms for a survey which will be conducted using tablets (Win 8.1). First part of the form shows old data entries in text form fields, second part is for the actual filling of updated data. Adobe Reader (and any other application, no matter what system) don't have any problems showing the forms with all its content. Only in Adobe Reader Touch (and other "App"-versions of PDF readers) the form fields in which the old data is supposed to be, stay blank. Filling, however, works fine.
    I really want to make use of the amenities of the Touch-version of the reader for the survey (simple, full screen, etc.), but for that I need the forms running of course. Any suggestions?
    The forms were created with LibreOffice Base.

    We are working constantly to enhance our Reader on this platform. Your feedback will help us prioritize this enhancement better. Thanks for taking the time to post to the forum.

  • Can a pdf form be emailed filled in and emailed again?

    I have a client that would like a form that could be emailed to several different persons, progressively, so that each that received it could add something then forward to to the next until it was finally returned to the originator with all the comments on the form.
    I am relatively new to creating interactive forms with acrobat but I cannot find anything that will allow this to happen short of submitting the form results to a database.
    I would love to have some of those with more experience with acrobat forms to give me a suggestion.

    Hi Cathy
    I created a form from using Adobe Acrobat X Pro.  Like you I assumed that I would be able to send the form out, someone would fill out the form and send it back to me or whoever needed it.  Seems I was wrong.  Not only can you not save a copy either for your records or to complete at a later time, you cannot email the form without losing the field content.  This seems absolutely ridiculous that in this digital age, the only thing the recipient can do is complete the form, print it out and fax it... It took me a number of phone calls to Adobe's technical support line to find this out.  An utter waste of time it seems and the most ridiculous of 'Tools' functions.

  • Sending a pdf form through email

    Hi,
    I want to send a pdf form through mail for this i have to write code(given below) but my problem is that
    it send a xml file to vendor. i want to send its pdf form. how it is possible.........................
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer                = fp_outputparams
      APPEND_TO_TABLE       = ' '
    IMPORTING
      OUTPUT_LENGTH         =
      TABLES
        binary_tab            = lt_att_content_hex.
    CLASS cl_bcs DEFINITION LOAD.
    DATA:
    lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
    *--Create persistent send request
    lo_send_request = cl_bcs=>create_persistent( ).
    Message body and subject*****************************************************************************************
    DATA:
    lt_message_body TYPE bcsy_text VALUE IS INITIAL,
    lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
    APPEND 'Dear Vendor,' TO lt_message_body.
    APPEND ' ' TO lt_message_body.
    APPEND 'Please fill the attached form and send it back to us.' TO lt_message_body.
    APPEND ' ' TO lt_message_body.
    APPEND 'Thank You,' TO lt_message_body.
    lo_document = cl_document_bcs=>create_document(
                                   i_type = 'RAW'
                                   i_text = lt_message_body
                                   i_subject = 'Vendor Payment Form' ).
    DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
    TRY.
        lo_document->add_attachment(
                     EXPORTING
                     i_attachment_type = 'PDF'
                     i_attachment_subject = 'A Test Adobe Form').
                   i_attachment_size =
                   i_attachment_language = space
                   i_att_content_text =
                   i_attachment_header =
                   i_att_content_hex =  lt_att_content_hex ).
      CATCH cx_document_bcs INTO lx_document_bcs.
    ENDTRY.
    Add attachment
    Pass the document to send request
    lo_send_request->set_document( lo_document ).
    Create sender
    DATA:
    lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
    l_send TYPE adr6-smtp_addr VALUE  '.............'.
    lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
    Set sender
    lo_send_request->set_sender(
                            EXPORTING
                                i_sender = lo_sender ).
    Create recipient
    DATA:
    lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
    lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    Set recipient
    lo_send_request->add_recipient(
                              EXPORTING
                                  i_recipient = lo_recipient
                                                i_express = 'X' ).
    lo_send_request->add_recipient(
                              EXPORTING
                                  i_recipient = lo_recipient
                                                 i_express = 'X' ).
    Send email
    DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    lo_send_request->send(
                              EXPORTING
                                  i_with_error_screen = 'X'
                              RECEIVING
                                  result = lv_sent_to_all ).
    COMMIT WORK.
    MESSAGE 'The payment form has been emailed to the Vendor' TYPE 'I'.
    Thanks in advance
    Shri

    Try below logic.
      DATA : it_objpack   TYPE STANDARD TABLE OF sopcklsti1 ,
             it_objtxt    TYPE STANDARD TABLE OF solisti1 ,
             it_objbin    TYPE STANDARD TABLE OF solisti1 ,
             it_reclist   TYPE STANDARD TABLE OF somlreci1 ,
             wa_doc_chng  TYPE sodocchgi1,
             wa_objhead   TYPE soli_tab,
             l_attachment TYPE i,
             l_testo      TYPE i.
      DATA:   wa_objpack TYPE sopcklsti1,
              wa_objtxt TYPE solisti1 ,
              wa_objbin TYPE  solisti1 ,
              wa_reclist TYPE  somlreci1 .
      CLEAR:  wa_reclist,
              wa_objhead,
              wa_objtxt,  it_objtxt[],
              wa_objbin,  it_objbin[],
              wa_objpack, it_objpack[].
    Object with PDF.
      CLEAR wa_objbin.
      REFRESH it_objbin.
      it_objbin[] = gt_mess_att[].
      DESCRIBE TABLE it_objbin LINES l_attachment.
    Object with main text of the mail.
      LOOP AT it_message INTO wa_message.
        wa_objtxt = wa_message. APPEND wa_objtxt TO it_objtxt.
      ENDLOOP.
      DESCRIBE TABLE it_objtxt LINES l_testo.
    Document information.
      wa_doc_chng-obj_name = 'test'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      CONCATENATE 'Amex Settlement' ' '
                    INTO wa_doc_chng-obj_descr .
    doc_chng-sensitivty = 'F'.
      wa_doc_chng-sensitivty = 'P'.
      wa_doc_chng-obj_prio = '1'.
      wa_doc_chng-doc_size = l_testo * 255.
      CLEAR wa_objpack-transf_bin.
      wa_objpack-head_start = 1.
      wa_objpack-head_num   = 0.
      wa_objpack-body_start = 1.
      wa_objpack-body_num   = l_testo.
      wa_objpack-doc_type   = 'RAW'.
      APPEND wa_objpack TO it_objpack.
      CLEAR wa_reclist.
      wa_reclist-copy = 'X'.
      IF wa_email IS NOT INITIAL.
        wa_reclist-receiver = wa_email-value1.
        wa_reclist-express  = 'X'.
        wa_reclist-rec_type = 'U'.
        wa_reclist-notif_del = 'X'.
        wa_reclist-notif_ndel = 'X'.
        APPEND wa_reclist TO it_reclist.
       ENDLOOP.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = wa_doc_chng
            put_in_outbox              = 'X'
            commit_work                = 'X'
          TABLES
            packing_list               = it_objpack
            object_header              = wa_objhead
            contents_bin               = it_objbin
            contents_txt               = it_objtxt
            receivers                  = it_reclist
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            OTHERS                     = 8.
        IF sy-subrc <> 0.
          WRITE 'Cannot send email'.
        ENDIF.
      ENDIF.

  • Read PDF form from email attachment

    Hope someone is able to help on this one...
    We are using a pdf form at work to gather some feedback and the user will be submitting the form via email...
    Using outlook 2003 I had a crack at writing a vba module to read the pdf form from the email attachment to update into an excel spreadsheet
    Is it possible to read pdf forms from the email attachment with outlook vba? Or does the attachment need to be saved to a directory first?
    I have in the past done a vba module to save the pdf form attachments to a directory and then using acrobat and it's in-built form data collection tool and exported as a csv, but this feedback form will be an ongoing thing that will be updated daily - and to minimise handling would like to run the outllook macro that reads straight from the email attachment instead of doing another 3 or so steps...
    Below is the snippet I am using - it's a mashup of different code I've found on the net
    Sub Feedback()
        On Error GoTo Feedback_err
        'Dim ns As NameSpace
        Dim objNS As NameSpace
        'Dim Inbox As MAPIFolder
        Dim objFolder As Outlook.MAPIFolder
        'Dim SubFolder As MAPIFolder
        Dim objExcel
        Dim oBook
        Dim oSheet
        Dim gApp As Acrobat.CAcroApp ' In Tools > References > Checked all Acrobat Libraries in VBA > Tools > References
        Dim pdDoc As Acrobat.CAcroPDDoc
        Dim jso As Object
        Dim Item As Object
        Dim Atmt As Attachment
        Dim filename As String
        'Dim i As Integer
        Dim myOrt As String ' Added 13/1/2010
        Set objApp = CreateObject("Outlook.Application")
        Set objNS = objApp.GetNamespace("MAPI")
        Set objFolder = objNS.PickFolder
    ' Check subfolder for messages and exit of none found
        If objFolder.Items.Count = 0 Then
        'If SubFolder.Items.Count = 0 Then
            MsgBox "There is no Feedback emails in this folder.", vbInformation, _
                   "Nothing Found"
            Exit Sub
        End If
    ' Check each message for attachments
        Set objExcel = CreateObject("Excel.Application")
        Set oBook = objExcel.Workbooks.Open("G:\Path\Filename.xls")
        Set oSheet = objExcel.Worksheets(1)
        oSheet.Range("A2").Select
        Set gApp = CreateObject("AcroExch.App") ' make acrobat session
        Set pdDoc = CreateObject("AcroExch.PDDoc")
        Set jso = pdDoc.GetJSObject ' set the Javascript object via this way we can fill in the PDF document fields
        For Each Item In objFolder.Items
            For Each Atmt In Item.Attachments
                If Right(Atmt.filename, 3) = "pdf" Then
                    Do
                    If IsEmpty(objExcel.ActiveCell) = False Then
                        objExcel.ActiveCell.Offset(1, 0).Select
                    End If
                    Loop Until IsEmpty(objExcel.ActiveCell) = True
                        objExcel.ActiveCell.value = jso.getField("CurrentDocDate").value
                        objExcel.ActiveCell.Offset(0, 1).value = Item.Session.CurrentUser
                        objExcel.ActiveCell.Offset(0, 2).value = jso.getField("txtJobNo").value
                        objExcel.ActiveCell.Offset(0, 3).value = jso.getField("rbStatus").value
                        objExcel.ActiveCell.Offset(0, 4).value = jso.getField("rbFeedback").value
                        objExcel.ActiveCell.Offset(0, 5).value = jso.getField("txtComments").value
                End If
            Next Atmt
        Next Item
        oBook.Save
        objExcel.Quit
    Feedback_exit:
        Set Atmt = Nothing
        Set Item = Nothing
        Set objNS = Nothing
        Set pdDoc = Nothing
        Set objExcel = Nothing
        Set jso = Nothing
        Exit Sub
    ' Handle Errors
    Feedback_err:
        MsgBox "An unexpected error has occurred." _
            & vbCrLf & "Please note and report the following information." _
            & vbCrLf & "Macro Name: Feedback" _
            & vbCrLf & "Error Number: " & Err.Number _
            & vbCrLf & "Error Description: " & Err.Description _
            , vbCritical, "Error!"
    Resume Feedback_exit
    End Sub
    I get a vba error 91 "Object Variable or With  block variable not set"
    Cheers
    Ben

    hi Phani,
    with regard to your problem I would suggest you to please go thru this link.
    Hope this would be helpful to you.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/offline%20interactive%20pdf%20form%20using%20e-mail.pdf
    Thanks,
    kris

  • Button to send filled out form as completed pdf form via email

    I have created a form that when filled out, should send the form by email to the recipient as a completed pdf form. It works with Adobe Acrobat but not Reader.
    Any Ideas?
    form can be found at:  http://www.lcyc.ca/images/stories/macman2012/macmanentry.pdf

    Check out:
    http://www.nk-inc.com/macmanentry.pdf
    Use your real name, and e-mail address in the PDF form fields, and recieve a customized email copy and response.
    The script will parse and merge the XDP submission, so there's no need to Reader Enable your forms.
    PDFEmail.net works in ASP.net web servers.
    Note: Do not submit sensitive information, this is just a demo. I may get a BCC of the form.
    For more info:
    http://www.pdfemail.net
    Feel free to contact me on my website:
    http://www.nk-inc.com/support/sales/

  • The updated Adobe Reader App on the iPad will not flatten a PDF Form before emailing.

    My iPad automatically updated and since that update, we cannot fill in PDF forms and flatten to share via email. When we share via email it shares the original file. The help section shows that option to flatten the file, but when actually performing the functions it just automatically attaches the document to the email without that security option. Has anyone run into this issue? How did you resolve it?

    As an update, I am finding that I can still send documents via email (and given the option to flatten) if the document was already in my adobe prior to this update, even if I changed the document.  However, If I am opening a new document right now from dropbox or some other source and editing and saving it to adobe, it will only email the original blank document.

  • Trouble distributing PDF Form. Emailing fails

    I have an PDF form I created and wish to distribute to my clients.  Once filled out I would like them to return the complete form to me via email.  When I choose distribute form in the forms menu to send it to my recipients.  I get an error "Failed to send the form to recipients"  I am stymied.  I cannot figure out why I can launch this feature.
    I have ask clients to complete the form and try to attach it to an email, but that defeats the whole procedure, generally confusing my client.
    Anyone know what I am doing wrong. I am using Acrobat 9 Pro on Mac OS 10.6.8 Snow Leopard.  Someone suggested I upgrade to a newer version of Acrobat.  That seems to suggest that the feature does not work in Acrobat 9 which I believe is incorrect.
    Any Help is appreciated.

    It's not clear to me where the problem is. Is it when you try to send the form to recipients, or when they try to click the Submit button to send the form back to you? It certainly can work with a form created in Acrobat 9, but it may not work with certain email clients. You may find that a good number of users don't even have an email client set up, and many may use a web-based email client (e.g., gmail and the like). If it doesn't work, manually attaching the document to an email is the workaround. Such is the nature of an email-based workflow.
    Some users may be using something other than Acrobat/Reader to interact with the form, such as the Preview application on the Mac, which also will not work. The Preview application actually corrupts PDF forms in a number of ways and it doesn not support JavaScript or digital signatures. When you get such a corrupted form back, text (and other) fields will appear to be blank. For more information on this, see: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html

Maybe you are looking for