Adding attachments to a dynamic form

Hi there,
I am creating a dynamic PDF form and I would like users to be able to attach a file (e.g. a word file, photos) to the dynamic form.
Once the form is completed and returned (in PDF format) I want the person reviewing the form to be able to open the embedded attachments.
If this possible?
Many thanks for you help in advance
Lee

The user can add attachments by clicking the paper clip icon.
If you mean you want to add attachments through script or associated with a form field, below is an example where a form check box triggers adding an attachment. It adds an attachment with a description pulled from the caption of the check box. My check box captions end in : which is stripped.
//Change event of check box
{variable object in Heirarchy}.attachmentCheck(this, event.target);
//code in variable object
function attachmentCheck(checkField, myDoc) {
          var descrip = checkField.parent.nodes.item(0).value.resolveNode("#text").value;
          descrip = descrip.substr(0, descrip.length - 1);
          //app.alert("\"" + descrip + "\"");
          if (checkField.rawValue == "1"){
                    var cancel = true;
                    myDoc.importDataObject(descrip);
                    try {
                              var objDoc = myDoc.getDataObject(descrip);
                              objDoc.description = descrip;
                              cancel = false;
                    } catch (e) {}
                    if (cancel){
                              checkField.rawValue = 0;
          } else {
                    mBoxResult = xfa.host.messageBox("Unchecking will delete the attachment.", "Confirmation", 2, 1);
            if (mBoxResult == 1) {
                              var obj = myDoc.dataObjects;
                              for (var i = 0; i < obj.length; i++){
                                        //app.alert("\"" + obj[i].description + "\"");
                                        if (obj[i].description == descrip) {
                                                  //app.alert(obj[i].name);
                                                  myDoc.removeDataObject(obj[i].name);
            } else {
                              checkField.rawValue = 1;

Similar Messages

  • Adding Attachments feature to custom form in ERP

    We have a custom form in Release 11.0 of the ERP. I want to
    enable the attachments functionality for this form. I have
    found the call
    APP_SPECIAL.ENABLE('ATTACHMENTS',PROPERTY_ON);
    This will enable the attachments button (the paperclip icon) but
    when I invoke it, I cannot save attachments and, instead, get
    errors. I'm sure I'm missing a configuration step, but have
    been unable to find the proper documentation.
    Any help is appreciated.
    Thanks,
    Brett

    The frustrating thing is that I believe I'm getting close to the solution. I can create a perfect PDF form by using MS Word to create the watermark in the background. If I try and import the Word document straight into LiveCycle, it converts the word art to an image (poorly to boot). I can convert the Word document to a PDF and it looks wonderful. If I use that PDF to start with in LiveCycle, all of the text capabilities are turned off for some reason. I can create text FIELDS or check boxes but there can be no text within them. Still, the resulting PDF has a wonderful watermark that isn't selectable in Acrobat. I would just hate to have to create this entire form within Word and then only be able to use LiveCycle to create the check boxes and text fields. The problem with this process is that every time I have to make updates or revisions, I would have to re-import them from Word and create the form completely again.
    Any thoughts?
    BTW, thanks so much for your responses so far! I just haven't been able to sit down with this software since I posted the question to try out the possible solutions until tonight!

  • Adding attachments to an Acrobat Form

    Dear All, I hope you can help. 
    I have created an Acrobat form on a Mac using Acrobat XI ver 11.0.03.  Once I distribute the form I need the user to add an attachment (.pdf .xls etc) and then email it back.
    I thought Form Central would be a perfect solution, however having paid my subscription, I couldn't find the function anywhere. I then searched the forums only to find that Form Central can't deal with attachments.  Back to the drawing board!
    Now being forced to distribute the form manually (by email), I still need to allow users to add the documents above.  I am aware of the add attachment in the left menu item, but ideally I would like users to simply click on a button that opens a finder window to allow them to add attachments.
    I would really appreciate your help on this.
    Many thanks,
    J.

    The type of thing you want is possible, but if it needs to work with Reader the document must be enabled by LiveCycle Reader Extensions so it includes the embedded file usage right.
    The best you can do with a file that's been Reader-enabled with Acrobat is to manually attach a file as a comment. A button can be used to display instructions, but that's it. There is also the licensing restrictions that come into play when you enable with Acrobat.

  • How to make a script dynamic while adding forminstances in a dynamic form

    I have a form . Which has 8 pages (page 1-8).There is a radio button at the bottom of the page - 8 , If it's clicked as yes , then it will add an instance of Page 6,7,7&8.There are two Dropdowns in Page 6.
    1st Dropdown is for Entity and the 2nd Dropdown is for State Value.Script is written on the onChange event for the Entity : Suppose a value is selected in the entity , then basing on that value some fixed valued dropdown list will appear for State field.If i add an instance for the Page 6,7,8 which is under Subform Section -1 Then the Drop Down for the State value is not working in the new instance created.I tried a lot but it's not working.Is there anyhelp for it ?
    Script for Entity field
            TopmostSubform.Sub_Form_Section1.Page6.Entity::change - (JavaScript, client)
    var newVal = this.boundItem(xfa.event.newText);
    switch (newVal)
        case "A":
            TopmostSubform.Sub_Form_Section1.Page6.State.clearItems();
            TopmostSubform.Sub_Form_Section1.Page6.State.addItem('x');
            break;
        case "B":
            TopmostSubform.Sub_Form_Section1.Page6.State.clearItems();
            TopmostSubform.Sub_Form_Section1.Page6.State.addItem('a');
            TopmostSubform.Sub_Form_Section1.Page6.State.addItem('a');
            TopmostSubform.Sub_Form_Section1.Page6.State.addItem('c');
            TopmostSubform.Sub_Form_Section1.Page6.State.addItem('d');
            TopmostSubform.Sub_Form_Section1.Page6.State.addItem('e');
            TopmostSubform.Sub_Form_Section1.Page6.State.addItem('f');
            break;
        default:
        break;

    Hi,
    It is a bit awkward without the form, but basically the script does not know which page6 your are referring to. When there is a single instance of the page, it can be referenced by "...page6.State", but when there are several instances of the page, they are referenced by "...page6[0].State", "...page6[1].State", "...page6[2].State", etc.
    So the task is to find out which instance of page 6 the dropdown is in and then reference that instance. You will see from above that the index is zero based, it is a good idea to include a line that will print the output (i) to the Javascript Console (Press Control+J when previewing). You can comment this out (//) or delete it after testing.
    The next thing is to resolve the node when combining the page SOM and the particular instance of it (i).
    So:
    var i = this.parent.index;
    console.println("i: ", i); // when previewing press Control+J to see the output
    var currentPage6 = xfa.resolveNode("TopmostSubform.Sub_Form_Section1.Page6[" + i + "]");
    var newVal = this.boundItem(xfa.event.newText);
    switch (newVal)
        case "A":
            currentPage6.State.clearItems();
            currentPage6.State.addItem('x');
            break;
        case "B":
            currentPage6.State.clearItems();
            currentPage6.State.addItem('a');
            break;
        default:
        break;
    It may need some tweaking, but should be close to working.
    Good luck,
    Niall

  • Adding attachments to Reader enabled forms in Adobe reader

    I am creating a form for a user where they need to add an attachment to the form from Adobe Reader.
    They also need to save the form locally, as this is a low volume usage, approx. 100 uses in total the rights are being enabled in Acrobat Professional 8.0
    Functionality all works fine until the form is reader enabled and the script no longer functions.
    the script being used is as follows
    var oDoc = event.target;
    oDoc.importDataObject("Strategic Research Plan");
    var d = oDoc.getDataObject("Strategic Research Plan");
    app.alert("The name of the file you attached is: " + d.path);
    I have seen some comments indicating the file system cannot be accessed when rights have been applied, does anyone know if this is the case? or if there is a way to make this work.
    this is being done with Professional 8 and Reader 7.02 or later
    Any comments will be appreciated!

    Hi Pat,
    Yes I was using Firefox 19 indeed. This certainly fixed it.
    Thanks for the help!

  • Adding attachments to an e-mailable form

    I am creating a form that is to be filled out and then
    submitted and sent to an e-mail. I want to make an option available
    of adding attachments to the form being sent to the address but I
    don't know how. Is this something that I will have to do in a .php
    code?

    The type of thing you want is possible, but if it needs to work with Reader the document must be enabled by LiveCycle Reader Extensions so it includes the embedded file usage right.
    The best you can do with a file that's been Reader-enabled with Acrobat is to manually attach a file as a comment. A button can be used to display instructions, but that's it. There is also the licensing restrictions that come into play when you enable with Acrobat.

  • Dynamic forms - adding line items

    Case: A form author has created a PO where the number of detail lines required on the form can be as few as 1 or as many as 20+. Instead of creating a fixed number of lines, a dynamic form is created so that user's may click on a 'Add Line' button to add additional lines to the form as needed.
    Is anyone willing provide me with an example of this that I could look at, dissect and see how this actually works, I'm a newbie to LifeCycle designer and I cannot figure out how to do this?

    See the Dynamic Purchase Order example in your LiveCycle installation folder.
    Carl Young
    http://www.pdfconference.com/

  • Dynamic Forms and WF

    Hello,
    I have designed a dynamic form, where user can add rows dynamically by clicking a button on the form, the form is working fine in preview in designer.
    this form is initiating a LC WF process, but, if I deploy this form to form manager as an XDP and choose to render it to PDF, adding rows function does not work, however if I save this as dynamic PDF from LC designer and deploy it again to form manager, it works !!
    However, I can not use PDF generated from LC Designer since I found that commenting and annotations are not working ( I am using acrobat ) which is an important feature, also, web services calls are not working even, again from Acrobat!
    How can I set the form server installed with workflow server to render XDP templates into dynamic PDF forms ?
    Or alternatively how to enable commenting and fix web service calls in PDF rendered form ?
    Thank you for help,
    Greetings,

    By default Forms and Form Manager are configured to render a PDF as either static or dynamic based on some values in the XDP. By default those values will tell it to render a static PDF. What you can do, in Designer save as a dynamic PDF, then open the dynamic PDF in Designer and save as an XDP. Upload that XDP to Form Manager, the tags will be present to tell it to be rendered as a dynamic PDF. There's a better way if you are using Designer 7.1 and Forms 7.1, but since I don't know your environment this is a way that will work regardless of versions.
    Annotations will not work in dynamic PDF's though. Currently annotations make no sense in dyanmic PDF's since the template of the PDF can dynamically change while annotations are bound to a specific location. IE: You have a dynamic PDF that is initial 4 pages and add an annotation to page 4. Later the template of the PDF changes based on data and user interaction and it is now a 2 page PDF, but the annotation is still on page 4 which no longer exists...
    Chris
    Adobe Enterprise Developer Support

  • My dynamic form - issue with saving data (urgent-i would greatly appreciate any help)

    Hello,
    I have some problems with this dynamic form (created in livecycle)  http://www.pathology.ubc.ca/Academic_Activity_Data_Form_Jan_4_2013.pdf .  It doesn't save data unless I add a' new row' to any of these tables.   There are a few text fileds and if I type anything in there data won't be saved unless I trigger it by adding randomly a table row.  This is big problem as this form will be used for updates and if I want to change any of my entered records I will always have to remember to 'add a new row' otherwise just adding/changing text won't be saved. This might sound confusing but you will understanding what is going on if you type in your name and save the form and then type in your name, add a table row and save the form (first case won't be saved second will).
    I would greatly appreciate any help.
    Debbie

    Hi Marco Russo ,
    = CALCULATE (
        SUM ( [measure] ),
        PARALLELPERIOD (
            SAMEPERIODLASTYEAR ( DateTime[DateKey] ),
            0,
            QUARTER
    I have used the above DAX function it is working fine and i have applied same for Year , Quarter and Month 
    But when i remove month filters (Slicer) and Year filters in Power view report
     it is showing total Year values for Year and Quarter values
    for Quarter etc..
    Like below i am getting 
    Last Yr Month Amt   Current Yr Month Amt   Last Yr Qtr Amt   Current Yr Qtr  Amt    Last Yr     Current Yr
     10000                     30000                              10000                30000
                        30000       30000
    but i need Blanks in report if i am not selecting any filters
    thanks,
    Sreeni

  • Page Number Disappesrs when click on Reset button in Dynamic Form

    Dear all,
    In dynamic forms I have taken Page n of m field outside the content area in master pages.I have added the reset button in body pages of the form.In the pdf When I click on Reset button the page nos are disappearing along with the other data.
    I want the page no should not disappear.How can I get rid of this problem. If any body can please help me.
    Thanks a bunch in advance
    Regards
    Rakesh

    Firefox checks on the server if the file has been modified if you use the back button.<br />
    If the page was requested by sending post data to the server then Firefox sends that post data and asks for confirmation.<br />
    You can try to use the tab history of the Back button skip sites that require sending post data.
    You can also try if it works if you set to never check the server by setting the browser.cache.check_doc_frequency pref to 2.
    *http://kb.mozillazine.org/browser.cache.check_doc_frequency

  • Problem in adding attachments to pdf

    Hi All,
               I ve created a dynamic interactive form using WD Java and Adobe Livecycle designer. My requiremnt is to attach files to the pdf document.To enable dynamic pdf, i have set IWDInteractiveForm instance to dynamic in my wdModifyView method. In this case, the create attachment option in my Adobe Reader 7.0 toolbar is not available. But when i remove the code from wdModifyView method, the create attachment option is available. I need to solve this issue.. Your suggestions are welcome.
    Regards,
    Sathish M

    Hi Sathish
    You can refer this blog to attach files to interactive form
    Demystifying Attachments with SAP Interactive Forms:
    /people/amit.rai4/blog/2008/02/01/demystifying-attachments-with-sap-interactive-forms
    Regards,
    Mandeep Virk

  • Rich Text in a XML Dynamic Form

    Hi guys,
    I'm having a problem accessing the property "richValue" of a text field.
    What I'm trying to do is get comments entered in a text field to be added to a list of comments(rich, text Field), similar to chat window. So each comment added (via a button click) will be formatted differently depending on other form parameters.
    Using LiveCycle Designer ES to create dynamic pdf form, target version 8.1 or higher. Testing using Acrobat Professional 8.1.2 .
    All text fields have richText switch on and also the Binding data format has been set to "XHMTL", only because Designer was whinging about it.
    Have tested:
    ]var field = event.target.getField("form1[0].#subform[0].txtAddComment[0]");
    console.println("Comment: " + util.spansToXML(field.richValue));
    ]undefined "is the result".
    Also tested:
    ]var field = event.target.getField("form1[0].#subform[0].txtAddComment[0]");
    var comments = event.target.getField("form1[0].#subform[0].txtComments[0]");
    ]comments.richValue = field.richValue;
    ]"nothing happens, no error, fields don't change nothing"
    OK is rich text supported in xfa dynamic forms?
    My aim is to be able to take someone's comments, format them and add them to a list of comments (like a log of comments), via javascript.
    Can anyone assist? It will be much appreciated.

    send me your form,will try and fix it for you
    [email protected]

  • How do I translate a dynamic form from english into spanish?

    With your assistance, I was able to create a dynamic form with expandable text fields. Now I am being tasked with translating this form from English into Spanish.  I do not know how to edit the words in the text box captions so that the appropriate accents are added.  Currently, the text font is Myriad Pro.

    Hi,
    check my example.
    It explains how to design multiligual forms.
    http://thelivecycle.blogspot.com/2010/01/multiligual-forms.html

  • Dynamic forms not saved properly

    Hi ,
    I have a dynamic forms created using Adobe 8 LC.
    After the form is generated thorugh application when I try to save the dynamic pdf using save button in Pdf toolbar, there are null values or extra rows of data being added to the dynamic pdf. The javascript calculations are not being displayed for eg totals .
    I am unable to figure what is causing this extra rows to be added in the pdf. When I give a print option to PDF, the dynamic document is printed correctly without any extra rows.
    Please help..
    Thanks,
    Vidya

    Hey Guys,
    Thanks for the tip Gunter...I tried it and it didn't work.
    When I insert, I get redirected to a "page not found", but the record gets inserted into the database.
    I'm wondering if it is my Managed Site. I keep fumbling around until I get my site working. Currently I have my Local Info, which is my local folder and local IIS HTTP address. I have my Remote Info which is Local/Network Access and my Remote Folder on the LAN. I'm getting confussed with what my Testing Server should be. I have set my Server Model of PHP MySql and Access of Local/Network and the Tesing Server Folder as the same location as my Local Folder. My URL prefix is the same asa my local IIS HTTP address. Does all this look right?
    The PHP version is 5.1.6

  • Dynamic Forms and Datasets

    I have created a dynamic form in LC8.0. Distributed it to our server via Acrobat Pro 8.o. The users have Reader 8.0. There are two subforms on the page, both of which are tables which can be expanded using an addInstance button.
    Everything works well with single row entries - I receive the returned data in a mailbox, open up the file which then populates a dataset with the information from both tables. This can then be exported to an Excel spreadsheet.
    However, when the addinstance button is used by the user and an additional row of data is added to either of the tables, the following message box error appears when I try to add that data to the dataset:
    "...the form fields do not match the fields in the dataset"; followed by
    "Failed to add the returned form to the dataset file. Error code = 11".
    Does anyone have any idea what I'm doing wrong? I'm not a programmer, so please provide as much information as you can.
    Any help appreciated. Many thanks.

    Hi Jerry
    I think I managed to solve this one - though not sure I remember quite how I did it. I think it was by ensuring that only those items I wanted to export from the data set had their data bindings set to Normal. Absolutely everything else was set to None - so check that the subform that holds your addInstance button is also set to None.
    In opening the returned form a message box may appear stating:
    "Fields in the 'formname' do not exactly match the fields in the template in the data set. Do you really want to add the form to the data set?".
    When you've added it you will notice an additional column to the far left of the data view panel of the data set with the header "Has Different Fields". Depending on whether the data submitted had one or more instances added will determine whether the column has a Yes or a No in it. If there were multiple entries in that particular form, you will only see the first one until you've exported the data to your other application. The "Yes" or "No" isn't exported.
    Good luck

Maybe you are looking for

  • Airport extreme won't connect via Ethernet to BT homeHub v2.0

    Hi here's what I want to do: 1. Homehub is connected to the phoneline and will provide a b/g network for my iphone/xbox/laptop1 2. I want to connect my airport extreme to this (from what I can tell this must be done through an ethernet cable) so that

  • CProjects and DMS

    Hi, We're in the BBP phase and wondering if we are going to use DMS for structuring documents in relation to cProject. However as I can read this is more or less an object link. Is there possibilities to automatically copy the cProjects structure int

  • Transmit file in HTTP POST

    Hello, Sorry I am french my english is not very good ! I have an JAVA applet and I would transmit a file of my applet to an ASP web page with HTTP POST. I try with HTTPClient but I don't success. If you have solution for transmit file in HTTP POST ?

  • Lightroom 4 Download

    Download button for Lightroom 4 is not working. Tried using link https://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_lightroom You can just continously click the download button and nothing happens.

  • No response when inside application

    After using the iPhone for most of the day, I experienced a problem where I could get into each application but once inside I could not get anything to highlight with the Touchscreen. This seems wierd as the touchscreen seems to work perfectly to sel