Static vs. Dynamic Forms

I thought that I understood static vs dynamic forms, but what I'm seeing has me stumped.  Here's the issue:
I have a form that requires multiple instances of a subform, based on repeating nodes in XML data.  Inside each subform instance there are data fields, but I can't bind them directly to the XML because the values require some calculation based on the data passed in.  So, I have a javascript loop in the containing subform that creates a new instance of the repeating subform and sets the rawValues of the underlying data fields.  The javascript is in the Initialize event.  I'm passing the .xdp into Output for rendering.  The script is set to run on the Server.
The issue is that when I look at the resulting PDF file in Reader, I do have the correct number of subform instances displayed.  However the data fields reflect the data from the first instance, so that I might have five sections that all look the same and the data is correct for the first section.  The form will render fine in the Designer preview if I set the form preview type to Dynamic, but the behavior will replicate the Output behavior if I set the preview to Static.
What I understood is that having a static form will mean that the form will not *re-render* in Reader, but the initial form rendering in Output should create the subforms correctly.  I am getting multiple instances, they just don't reflect the correct data values.

Paul, thanks for your help.  I've figured out the problem, although perhaps you can tell me what the underlying issue is.  In the repeating subform the text areas that I was setting were defined as Text objects.  Redefining them as TextField objects has fixed the problem.  Any idea why setting the raw value of a TextField is different than a Text object?  I originally didn't need to use a text field because these are non fill-in text areas on the form.  Once again, this was only an issue if the form output was set to static rather than dynamic.
Regards,
Kevin

Similar Messages

  • Is it possible to have a PDF Form that is both static and dynamic?

    So I have a form that I need to make that would consist of two different pages. The first being lots of form fields and some simple graphics where the user could use the comment markup tools to draw some simple lines. The second page would be all text and filling out narrative. So the second page being dynamic and being able to expand would be important. The first page would not need to expand at all. Is there any way to do this and still have the form be one file, one document? What about embedding a dynamic form inside of the static form? Such as how you can embed a word document inside of an excel form... I've done some research but I can't tell if this is even possible. Thanks in advance.

    Yeah I kinda figured that... Really too bad. Seems lke it should be possible somehow. Anyway, do you all have any suggestions about the best way to combine a static form that is really just text fields and such (that comments and markup tools can be used in) with another page that is sections of narrative that would need to be able to flow?
    Or better yet, a way to draw lines on to a form without using the comment and markup function?
    I like your idea about connecting two forms - but I need to keep the final product as simple as possible. Once the user fills it out, they would be to be able to submit it and it show up as one file, even if that is just a flat file. I don't expect you all to tell me how to do this, but it would be nice to know its possible before I commit to the project and research. Thanks in advance.

  • What does mean You can include static and dynamic tables into a Smart Form?

    Hi guys,
    If you check the official documentation for Smart forms in the Internet you will read that the initial pharagraphs of the text tell you "Tables - You can include static and dynamic tables into a Smart Form. Dynamic tables enable you to display tables whose size is determined only at the moment of their output by the number of the table items to be displayed". The link is the following: http://help.sap.com/saphelp_nw04/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    I was wondering if this means that I can use field symbols with dynamical number of columns to print a smart form. Because it would be great since the customer wanted a dynamical report depending on the week day it was (If Monday, there was only 12 columns, but if Friday, it will be 52 columns (1 column more for every day elapsed in the current week)). I had to create 5 different forms, but I think using field symbols I had spent less effort. Do you know if it is really possible? If not, then what does mean "You can include static and dynamic tables into a Smart Form"?
    Thank you in advance

    Hi ,
    The concept of static and dynamic tables in smartforms, means you can use template- ( static table as no of rows and columns is fixed). Also you can use table- dynamic as the no of rows will depend on your line items.
    Hope this will help you to close this thread.
    Also, try to find this answer in posted forums. Creating a new forum everytime just increases the network traffic. So please try to avoid it.
    Regards,
    Vinit

  • Converting dynamic form to static

    Hi I am new to Livecyle designer (8.0) and I have created a dynamic form which expands as users complete it.  However I need to be able to combine these forms into one PDF not as a package to form a final report.
    Is there some way that the when the PDF is sent by e-mail it can be sent back as a static form?  Or how do I convert the completed dynamic form to a static form which I can combine? 

    If the form has dynamic fields added to it then even users using the free Adobe Reader will be able to fill in the form. However, if it is save-off-line that you are looking for then you will need to extend the form using Reader Extensions.
    Can you be more specific about your requirements?

  • Static  fields in Dynamic form...

    Can I have static content on a dynamic form? Is there a way?
    I need to print few fields in the form regardless of data in the subforms. These fields are not part of any subform group but they don't show up. Thanks.

    XSL-T and FO stylesheets would be another way. Depends on whether you prefer code or XML.
    %

  • 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

  • Selecting both static and dynamic values in a report.

    Hello,
    I am using the following LOV for a select list in a form based on another post (Re: Static and Dynamic LOV ordering
    It is presenting five static values along with a dynamic LOV.
    select d, r
    from (select n, d, r
    from (select 1 as n, 'NAME_A' d, 1 r
    from dual
    union all
    select 1 as n, 'NAME_B' d, 2 r
    from dual
    union all
    select 1 as n, 'NAME_C' d, 3 r
    from dual
    union all
    select 1 as n, 'NAME_D' d, 4 r
    from dual
    union all
    select 1 as n, 'NAME_E' d, 5 r
    from dual
    union all
    select 2 as n,
    (LNAME || ', ' || FNAME || ' (' ||
    to_char(DOB, 'MM/DD/YYYY') || ')') display_value,
    ID return_value
    from my_name_table)
    ORDER BY n, r asc)
    The static display and return values do not exist in my_name_table, but the static return values are recorded in my_main_table when the user submits the form.
    The tables look like this:
    my_main_table:
    record_id
    name_id
    my_name_table:
    name_id
    fname
    lname
    How can I present the display values associated with the static return values recorded in my_main_table along with the dynamic display values in a report? I am currently presenting the dynamic portion in a report using the following select statment:
    select
    (my_name_table.LNAME||', '||my_name_talbe.FNAME) AS Name
    from my_name_table
    WHERE my_main_table.NAME_ID = my_name_table.NAME_ID
    I have the additional problem that the static return values are not in my_name_table so the join in the last statement will not find the static values in my_name_table.
    Edited by: mterlesky on Feb 24, 2009 9:51 AM

    1. You will need to add an outer join to return all the values in the Main table.
    2. Then decode the values for the static LOV.
    Something like (this is not tested, but should give you the idea)
    select
    decode(my_main_table.NAME_ID,1,'NAME_A',2,'NAME_B',3,'NAME_C',4,'NAME_D',5,'NAME_B',(my_name_table.LNAME||', '||my_name_talbe.FNAME)) AS Name
    from my_name_table
    WHERE my_main_table.NAME_ID = my_name_table.NAME_ID(+)
    This will all break if any of your static LOV ID values clash with your dynamic LOV ID values.
    I am now going to give you a long lecture about hard coding values ..... ;)
    Related info: http://simonhunt.blogspot.com/2009/02/how-to-cope-with-list-of-values-lovs.html
    I hope that helps
    Shunt

  • Is there ANY way to keep track of changes or versions in a dynamic form, viewed in Reader

    I need to provide a measure of content control.
    I looked at acrobat.com for help.  There is a rather convoluted method and I don't know if I can get my company to go along with it.
    I have a dynamic form and it has to be dynamic, so I cannot change it to static to give it Comment/Markup ability - out of the question.
    Does anyone know of ANY way to keep track of changes or comments or anything? And if you know, please be as specific as possible.
    Thanks!

    No replies, so I assume that there isn't any way to do this at present. Do people agree that this would be a really useful feature?

  • XML data within dynamic form

    Hi,
    I'm trying to make a new XML Schema connection inside the form designer, I successfully made the connection and get the data inside my form, but I have only one problem, I have a huge number of records which I decided to make them as a dropdown list, they are about 11000 records, OK, now to the problem which is if I save the form as a static pdf form the list will be filled completely with the data came from the XSD file, and the produced file size is about 3 M, but if I save it as dynamic pdf form, the produced file size is about 400 K, but if I tried to access the dropdown list inside the file, it takes forever to load, without getting any result at the end.
    OK, my personal conclusion is that in case of the static forms the data saved inside the pdf file, but in case of the dynamic forms the data is not saved there.
    I need to save the file as dynmic pdf because I have a table that needs to add new row accoriding to the user click on a button of (add new row).
    So, can any one help me to fix this issue?

    Sorry, I found the solution:
    when I use the Adobe Reader 8.0.0 or Adobe Acrobat professional 8.0.0
    the stuff works normally, but in case of Adobe Reader 8.1.1 or Adobe Acrobat professional 8.1.1 this problem happens,
    Now I'll explain:
    1- I have a form with dropdown list.
    2- I want to populate this dropdown list from XSD file has structure similar to the following:
    =====================================================================
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="shipRequest">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="orders">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="order" maxOccurs="unbounded">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="shipVia">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="Ground"/>
    <xs:enumeration value="2 Day Air"/>
    <xs:enumeration value="Overnight"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    ====================================================================
    but with one main difference, that the element of shipVia has about 11000 of (<xs:enumeration ) elements.
    3- when I made the normal steps of make new connection to XSD file, it walked with me normally without any errors.
    4- incase I save this form as static pdf file, then open it with adobe professional, the menu is working smoothly and load the data inside perfectly.
    5- incase I sace this form as dynamic pdf file, if I try to open the dropdown list, it takes forever to load the data.
    very starnge that this problem happen with the newer version, so any idea for this??

  • Tags in dynamic forms

    Has anybody create dynamic forms with tags?
    For me it is not possible to do this, only static forms can hold tags (Designer 8.o and 8.1 ES).
    So it is impossible to create accessible, dynamic PDF-Forms with Designer technology - is this the reality?
    regards
    Jan Hillmer

    Thanks Mike. I've been banging my head against the wall all day trying to figure out why my Livecycle Designer 8 forms aren't tagged. I couldn't find any info searching the Adobe site (I REALLY suck at google-like searches). Is there a known issues document that you can point us to that might have more info about current problems with tagging dynamic forms?

  • Invisible objects only allowed in dynamic forms?

    I have read several times "To hide and show objects at runtime, you must save your form as a dynamic PDF". Yet one of the examples on the LiveCycle Developer Center website demonstrating invisibilty appears to be saved as a static PDF:
    http://partners.adobe.com/public/developer/en/livecycle/designer/pdfs/ChangingVisualObject Properties.pdf
    Is this "dynamic PDF" simply a recommendation? Can I get away with leaving my form as static? If I must save as dynamic, will anything on my form change?
    (using Designer 8 Pro)

    When I opened the PDF in Designer and looked at Form Properties, on the Defaults tab I saw Acrobat 7 (Static) PDF Form. I took it to mean that the file was Static. I guess that has nothing to do with the document that is currently open despite being in Form Properties.
    I see that under the Compatibility tab, it lists Form Type: Acrobat 7 (Dynamic). I guess that is where I tell how the form is saved.
    So if I create a static form and then save it as a dynamic form (just to perform the invisibility trick on one object), nothing is really going to change on the rest of my form?

  • Specific script not workig in dynamic forms

    Dear all,
    I have three check boxes.Third one is N/A.So when user select third one the value of first two check boxes should be null and acess should be read only.
    So i have added the following script to click and change events of the third check box.
    if(this.rawValue == 1 )
    first.rawValue = 0 ;
    second.rawValue = 0 ;
    first.access = "readOnly" ;
    second.access = "readOnly" ;
    else
    first.access = "open" ;
    second.access = "open" ;
    This is working fine if the form is save as static pdf but i need it in dynamic form.
    In dynamic form if i select first two check boxes then i select third one it's only making the first two check boxes read only.But the values are not refreshed i.e. value should be 0.it should be deselected.
    Can any one please help me to solve this problem.
    Thanks a lot in advance
    Regards
    Rakesh

    Rakesh,
    I have tested this in both Designer 7.0 and Designer 7.1, saved both times as a dynamic form and it works for me with the following javascript code on the change event in the 3rd CheckBox:
    if(CheckBox3.rawValue == 1 )
    CheckBox1.rawValue = 0 ;
    CheckBox2.rawValue = 0 ;
    CheckBox1.access = "readOnly" ;
    CheckBox2.access = "readOnly" ;
    else
    CheckBox1.access = "open" ;
    CheckBox2.access = "open" ;
    If you still don't get it to work I can send you the file that I have working.
    Catherine
    Adobe Systems

  • Required Radio Button Colored Red in a Dynamic Form

    Hi again
    Okey, like the headline said, I've got some problems with required radio buttons right now. In static fields they have a border when they are required.
    In dynamic forms they neither have, nor get any border.
    I tried already:
    1) to make a border with script (unfortunatelly it takes in the text too and is much smaller than the normal required border and will include the text => looks really ugly)
    2) to paint a border with lines (unfortunatelly the box itself overlaps the border only for 0,02mm (couldn't fix it) and it looks damn ugly )
    3) Cut the text out, write it in a textfield instead and border the complete box (Best solution right now... though a lot of work and won't look very good either)
    Since I needed to change 25 of my forms to dynamic and all of them have some of those required radiobuttons in it, I would appreciate ANY solution that would look a little bit acceptable.
    Anybody has any other idea how to get such a border (or anything similar) for these boxes?
    Thanx already
    Lisa
    (PS.: I only use quadratic check-fields
    PPS.: Sorry to bother you in the last time that much... I really try )

    Sorry to say, but I think you got me a bit wrong.
    It's not the radiobuttons that got in my way, it is the way they are displayed. (A field to enter information and a text. If you refer with a colour in it and it is in a dynamic form both, the input part and the text will be highlighted.)
    I wanted to accomplish the following thing:
    Make some kind of radiobutton or checkboxfield where only the little input part is red highlighted (with a border or something).
    But neither in radiobuttons nor in checkboxes it works, does it?
    Therefor it is no use in using checkboxes I think. If I do wrap those into subforms and highlight those again, not only the input part will be highlighted but also the following text. (That's why I don't understand how subforms could be of any use )
    Right now I seperated the input part from the text and just highlighted the input field. Though it still doesn't look as good as I would like it to do.
    If I got you wrong plz say so I am a bit tired right now and my English gets worse ;D
    I'll have a closer look at those pages you suggested me on tuesday. (I'm a bit in trouble right now)
    Thanx for providing me with information though
    I'm allways greatfull to learn some new things ;D
    (Silly people (like me) just can't learn enough so they could hide how dump they are ;D )
    Byebye
    Lisa

  • Custom Text disappears on exit when using Dynamic Forms

    If you have a dropdown list and you tick the box to "Allow Custom Text Entry" in a Dynamic form format, it will not hold the custom value when you leave that field.
    If you save the Dynamic form as a Static Form the custom entries work fine.
    I need help ASAP with this as it is very annoying.
    Thanks in Advance

    I need help with this. I followed these instructions to the T as far as I am aware but I cannot get it to work. I get the error message:
    "Script failed (language is formcalc; context is
    xfa[0].form[0].form1[0].#subform[0].DropDownList1[0])
    script=addEnteredValue(sDropdown_XFA, svalue)
    var oDD = xfa.resolveNode(sDropdown_XFA);
    if ((null == sValue) || ("" == sValue))
    return;
    var sLBValue = "";
    var bFoundValue = false;
    for (var i = 0; i < xfa.resolveNode(sDropdown_XFA + ".#items").nodes.length; i++)
    sLBValue = xfa.resolveNode(sDropdown_XFA + ".#items.#text[" + i + "]").value;
    if (sValue == sLBValue)
    bFoundValue = true;
    if (!bFoundValue)
    oDD.addItem(sValue);
    oDD.rawValue = sValue;
    addEnteredValue("form1.#subform[0].DropDownList1", gDropDownTemp.value);
    gDropDownTemp.value = "";
    Error: function 'addEnteredValue' on line1, column 38 is unknown. "
    Obviously I'm doing something wrong. How do you make it recognize the addEnteredValue function? -- When I added "gDropDownTemp;" to the File-->Form Properties-->Variables tab it said that it MUST have a value so I put 0, it wouldn't allow me to not enter a value even though instructions say otherwise. I'm new to this and I know what I want but getting to that point is another story it seems. Any help would be greatly appreciated.

  • Borders in a dynamic form

    The question is most likly simple to solve and I am just dumb one more time.
    I have some textfields in a dynamic form. However LiveCycle doesn't print them with the underlined boarder (like it should) but without any.
    If I reset it to static, everything is all right.
    Question: how can I make underlines of Textfields in a dynamic form?
    Any ideas?
    Thanx Lisa

    The example you sent me render perfectly.
    I'm still unable to duplicate your error.
    I did changed the default settings of the PDF (changed it to Dynamic), changed the font to Arial (could be a Myriad Pro Font problem) and emailed it back to you.
    I puted 4 text boxes, 1 with underline, 2 with the bottom border defined (in different places) and 1 with no underline.
    Please check if any of those textboxes appear correctly to you.
    If not, please tell me if, to render the PDF, you use Forms ES or Output ES or just save the document as a PDF (in Designer) and open it with Adobe Reader.

Maybe you are looking for