Subforms in Adobe Forms

Hi can anyone tell me what are Subforms in Adobe Forms. What is there use ?

Hi,
I hope the below link can help you.
http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Adobe_LiveCycle_Designer_Help&file=000269.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669
Thanks,
Khushbu.

Similar Messages

  • Moving subforms in adobe form

    Hi,
    I developed an adobe form, it has 3 subwindows.
    Form structure is:
    It has 3 pages:
    Page 1 contains Subwindow 1. This is a fixed subform which always comes. This subfirn has 3 checkboxes.
    Page 1 has subform 2 also.
    page 2 has subform 3
    page 3 has subform 4
    When checkbox 1 is clicked, subform 1 appears
    When checkbox 2 is clicked, subform 2 appears
    When checkbox 3 is clicked, subform 3 appears
    When all checkboxes are clicked togeather, all three subforms appears.
    When checkbox 2 and checkbox 3 is clicked, then subform 3 and subform 4 appears on page 2 and page 3.
    My requiernmrnt is, when checkbox 2 is clicked, then subform 3 should be displayd on page 1 instead of page 2.
    How to achieve this funcionality?
    Regards,
    Ashish Gupta

    If you have below form hierarchy then it won't work the way you want as you are already creating pages and in case you hide/unhide a subform, it will reflective in that respective page only.
    form1
      |--Master Pages
        |--Page 1
          |--(untitled Content Area)
      |--(untitled subform) (page1)
          |-- SubWindow                  // This is a fixed Subform
             |-- CheckBox1
             |-- CheckBox2
             |-- CheckBox3
          |-- Subform2
      |--(untitled subform) (page2)
          |-- Subform3
      |--(untitled subform) (page3)
          |-- Subform4
    So if you want to achieve effect of having Subform3 appearing on Page1 itself then you need to place Subform3 on Page1 itself. Place the Subform2,Subform3,Subform4 next to each other or however you want but all on Page1 itself.
    Follow below form hierarchy and properties as mentioned against it.
    form1
      |--Master Pages
        |--Page 1
          |--(untitled Content Area)
      |--(untitled subform) (page1)
          |-- SubWindow                  // This is a fixed Subform. Make the Content type as Positioned in Object palette.
             |-- CheckBox1
             |-- CheckBox2
             |-- CheckBox3
          |-- Subform2                 // Make the Content type as Flowed in Object palette.
          |-- Subform3                 // Make the Content type as Flowed in Object palette.
          |-- Subform4                 // Make the Content type as Flowed in Object palette.
    I believe you already know how to hide/unhide the subforms through JavaScript/FormCalc.
    Chintan

  • Unable to unhide subform in Adobe Form

    Hello All,
    Something that should be simple has turned into a bit of a trial. I have an Adobe form with three tables with different columns. Based on a variable passed to the form say, "number_of_tests" one of the tables should be visible.
    This works fine when the subforms are set to "invisible" by default and then made "visible". However, it does not work when the default value is "hidden". Why does this matter? Well, the "invisible" element still affects the layout of the form so I need it "hidden" (exclude from layout). Any clue would be greatly appreciated.
    Here is my sophomoric code and location.
    data.#pageSet[0].Page1.NUMBER_OF_TESTS::initialize - (JavaScript, server)
    if (this.resolveNode("$").rawValue == "03") {
      this.resolveNode("Page2.ItemDataHdrSubForm3").presence = "visible";
      this.resolveNode("hdrs.ItemDataHdrSubForm3").presence = "visible";
      this.resolveNode("itms.ItemDataSubForm3").presence = "visible";
    if (this.resolveNode("$").rawValue == "04") {
      this.resolveNode("Page2.ItemDataHdrSubForm4").presence = "visible";
      this.resolveNode("hdrs.ItemDataHdrSubForm4").presence = "visible";
      this.resolveNode("itms.ItemDataSubForm4").presence = "visible";
    Here is the structure of my elements.
    MainSubForm is Flowed default to Visible.
    SubHeaderSubForm is positioned default to Visible.
    ItemDataHdrSubForm3 is flowed default hidden. (doesn't work, but does when default is "invisible")
    ItemDataSubForm3 is flowed default hidden. (doesn't work, but does when default is "invisible")
    ItemDataHdrSubForm4 is flowed default hidden. (doesn't work, but does when default is "invisible")
    ItemDataSubForm4 is flowed default hidden. (doesn't work, but does when default is "invisible")
    Again, thanks for any assistance.
    Greg

    Hi,
    look into the XFA specs to learn the difference of visible, invisible, hidden and inactive: http://partners.adobe.com/public/developer/en/xml/xfa_spec_3_3.pdf#page=68
    Ok, so why do you use the initialize event for your script?
    And the script you provided does not fit the structure form your screen shot.
    It should look this way:
    if (this.rawValue == "03") {
      xfa.resolveNode("MainSubform.ItemDataHdrSubForm3").presence = "visible";
      xfa.resolveNode("MainSubform.ItemDataSubForm3").presence = "visible";
    if (this.rawValue == "04") {
      xfa.resolveNode("MainSubform.ItemDataHdrSubForm4").presence = "visible";
      xfa.resolveNode("MainSubform.ItemDataSubForm4").presence = "visible";

  • Importance of the subform in adobe forms

    Hi,
       Since i am new to this adobe forms, can any one tell me the importance of the subform and difference between Body page & Main page of the layout.
       I was trying to use the adobe forms to print the internal table data, but at the end of the internal table data i need to 'write some text' and need to do some calculations based on internal table data.
       here i have used the subform at the end but the problem is subform is overwriting in all the pages. It should be displayed in only in the last page and after all the internal table records printed. Thanks in advance.

    Hi,
    Subform: is nothing but make the individual fileds into one group.
    Let say example: in my output i am displaying header information..... make all the fileds into one subform, it indicates as header subform.
    Suppose if the subform properties are position contents it does not flowed...
    Suppose if the subform is flow content and top to bottom, it should flow to subsequent pages....
    In adobe forms we have two types of pages which are
    Master page
    Body page
    Master page: Basically we will design the logo,address and fotter will be designed in the master page.
    it has to reflect to the subsequent pages. Master page is excluded from the content area
    Body page: we will design the Table Data. it should included in the content area.
    if you want to display some thing into the last page you can write the scripting based on the condions....
    Adobe forms support the scripting .....
    We have evnets like if you are wirting the conditions on
    Master page  ---> Select the event as layout ready
    Body page    ---> Form Ready event in the layout
    Hope it may clears for your requirement
    Thanks & Regards
    Ramakrishna Pathi

  • Hiding subform in adobe forms

    go to palettes and select script editor. you will find a white colored editor.
    Click on the subform which is to be hidden in the heirarchy.
    Select Initialize from the drop down list on the editor. And select Language as FormCalc.
    You'll get the white space in the editor to write the code.
    if the subform which is to be hidden is SUBFORM1.
    then write the code as follows
    $.SUBFORM1.presence = "hidden"
    this will hide the sunform.
    if the hiding of the subform is dependent on any condition then we can write the code as follows
    if ( condition )  then
    $.SUBFORM1.presence = "hidden"
    endif
    this code will hide the subform and all the elements in the subform only if the condition is satisfied.
    Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms", not a question anyway, if you'd like to share ideas/code samples, please use the wiki space.
    Edited by: Thomas Zloch on May 10, 2011 10:29 AM

    Hi,
    This has been discussed many times in the forum. Check the following thread.
    hide a row or field in adobe form
    Thanks,
    Aravind

  • Change the position of subform in adobe forms

    Hi,
    I have a requirement to change the position of subform(y co-ordinate) in offline adobe forms.
    My subform is positioned and my code is:
    this.y = "10 in".
    Though this question has been answered a few times,I could not find the answer in any of them.
    Please suggest...
    Thanks and regards,
    Raka.

    Presenter doesn't have the same functionality for the TOC as Captivate. There is some wizardry that can be done if you want to adjust the look of the slide list.
    Work around was discussed in this thread: http://forums.adobe.com/message/1970468#1970468

  • Hiding subform in adobe form through javascript.

    Hi guys,
    I wanted to hide a subform through javascript.
    i want to make it visible only when the page no = 3.
    what is the syantax of javascript to do this.
    thanks in advance

    Hi,
    you can use as below,
    below Scripting can be used to ahcive this.
    1. FormCalc Scripting.
    2. JavaScript.
    Combination of both is also allowed in same form.
    Example:
    if( hasValue($) ) then
    StaticText1.presence eq u2018visibleu2019
    Else
    StaticText1.presence eq u2018hiddenu2019
    Endif.
    Thanks,
    Chandra

  • Adobe Form Repeat a Subform Every Page

    Hello Adobe Forum,
    I'm an SAP user and am creating an Adobe form (my first). I posted this in an SAP forum, but have yet to receive any feedback whatsoever so I thought it may be better to go to the Adobe experts themselves. I've run into an Adobe issue and am just spinning and spinning trying different techniques to make it work. Any hints would be greatly appreciated.
    In my content area I have three subforms. The first subform is positioned, the fields have to be placed correctly. The second subform is fundamentally a table header for the third subform, which is the rows of the data. All three subforms are wrapped in another subform that is flowed.
    Why would I do it like this? Well, the table in the third subform has control levels so it merges like rows nicely in this way when the first column rows are the same...
    So the first page of my document would look like this...which is what I want.
    H is repeated for every page. So it is on the Master page. That's easy.
    1 is the 'sub-header' and should only be on the first page. This works.
    2 looks like a header for the table, but is really it's own table because of formatting requirements and the values are dynamic. It looks nice, but shows up only on page one.
    3 is the data table. It works great too.
    Page one looks great. Page two looks like this... I can't get part 2 from above to repeat for every new page.
    I have tried numerous approaches, but nothing seems to work. I really need to stick with the control levels, and that keeps me from having one nice table with a header that repeats. Perhaps I've approached this fundamentally wrong?
    Here is my layout in case that helps at all explain my issue. I truly appreciate any help, this is the last hurdle on my form and then it's done. I'm sure a seasoned Adobe person may quickly see the err of my ways.
    Thanks,
    Greg

    Not a solution I'm very fond of, but it works. I created a second page and put the table header on the master page there and moved the content area down a bit. I'd still like to force the subform to simply repeat, but I've got to move on.

  • Adobe Form -  How to set a condition for a Subform

    Hi All
    I am new in Adobe Form and learing it - (I had some knowledges of SmartForm) - One of the requirement I have to do is to print out a different layout (subform) according to a value of a flag.
    In Smartform, I can draw diffrent layouts and put a condition on each layout so each one can be printed accroding to the flag value.
    In Adobe Form, the subform (or any other object) cannot be conditional set - I don't know how to do it - Could comeone please show me how - I reward points for any reply - Thanks

    You are excused with your English - and you must excuse mine , too
    Your questions:
    But, how i write the condition ?
    1- If ( article.table1 = Null ) then ... ?
    2- If ( article.table1.Rangée1.SubForm2.lib_article.rawValue = " " ) then... ?
    Try this:
    1- // Locate the table node from to down
    var tNodes = xfa.resolveNodes("Table1[*]");
    If (tNodes.value == NULL)  {
        tNodes.presence = "Hidden" }     
    or
    2- // locate the varable fields and loop thru to check if they are all empty
    var fNodes_1 = xfa.resolveNodes("article.table1.Rangée1[*].SubForm2.num_article");
    var fNodes_2 = xfa.resolveNodes("article.table1.Rangée1[*].SubForm2.lib_article");
    var fNodesLength = fNodes_2.length;
    var table_empty = "Y";
    for (var fNodeCount = 0; fNodeCount < fNodesLength; fNodeCount++) {
       If     (fNodes1.item(fNodeCount).rawValue <> " ") or
              (fNodes2.item(fNodeCount).rawValue <> " ")      {
                 table_empty = "N";
    // Now find the table node and hide if if necc
    var tNodes = xfa.resolveNodes("Table1[*]");
    If table_empty = "Y"  {
        tNodes.presence = "Hidden" }    
    You must place those codes at the Subform Article level in Javascript mode
    Good Luck
    Edited by: Liem Van Duong on Jun 13, 2008 2:45 AM
    Edited by: Liem Van Duong on Jun 13, 2008 2:46 AM

  • ADOBE FORM: Start new page at subform

    Hello,
    in the interface of my adobe form i have a table.
    I created a subform with binding to the table row.
    This works so far.
    But i want now that for each table row (= subform) a new page is started at the PDF.
    How could this be realised?
    Thank you
    Kind regards
    Manfred

    These can be done via options in Pagination tab for the "Body Row" of table.
    I just tried a sample as follows and it kind of worked.
    form1
    |-- Subform    // Object palette --> Subform tab --> Make its Content property to Flowed.
      |---- Table1
        |---- Row 1  
    // Object Palette --> Type is Body Row
    //  Object Palette --> Pagination --> After : Go To Next Page
    //  Object Palette --> Binding --> Selected Repeat Row for each Data Item and made its min count as 5
    Only thing is that I am getting a blank page at end but then may be this can point you in some direction and you will solve that for us

  • ADOBE FORM - Start subform on current page only if space is there

    Hello,
    i have created an adobe form for printout of CRM business partner details.
    The form consists of several subforms.
    Each subform consists of a text as header and a table.
    examples for the subforms:
    - contact persons of account
    - opportunities of account
    - quotations of account
    - orders of account
    - servicerequests of account
    now i face the issue that in some cases the header text of the subform is on the end of one page and the table starts at the next page. How can i configure my adobe form in a way that subform starts only on current page if there is enough space for at least 1 table entry?
    Thank you
    Best regards

    Hi,
    Sorry but i do'nt think that's possible to check dynamically if there is enought place on the form for at least one table line .
    Perhaps you can explore this kind of solution
    Subform 1 => Table content => Allow page break
    Subform 1-1 => "New Header" this one can't allow page break
    Subform 1-1-1 => Real Header
    Subform 1-1-2 => First item
    Subform 1-2 => Items form line 2 to x.... Allow page break
    For this you must modify the context of the form because your table will be read from line 2 to ... and you must add a single record for line 1.
    Also if you want to repeat the real header forms on page break, you can set it on subform 1-2 when overflow is needed.
    Hope this help you.

  • Repeating subform on each page in Adobe Forms

    Hello all,
    I created an Adobe Form, where the body is splitted in subforms (all flowed).
    But now, I want that the first subform must be showed on each page on the Adobe Form. A masterpage cannot be used, because soms field have no data and are not showed on the PDF.
    Does anyone know how the first subform of the body can repeat on each page?
    Kind regards,
    Pieter

    Florian,
    I already tried in Javascript for initialize and from.ready methods..
    Now, I tested in Formcalc but the output is the same.
    Page 1:
    On the next pages:
    So, on all the next pages a white space still appears..
    Kind regards,
    Pieter

  • Adobe Form want to hide Subform

    Hi All,
    I am using a subform as a table item in my adobe form.
    I have two levels of item level data.
    I want to hide the whole subform containing the second level of data based on the value of afield.
    Scenario is for a particulare item level data i have some sub items.
    The subitems is nothing but material details corresponding to a operation(a work order can have multiple operations,work order is header).
    So I want to stop/hide the whole subform of material details if Material is initial.
    To be more clear i want check the value of a particular field and if its intial i should not display the subform.
    Please help me with what to write in the script editor of the adobe form.
    Thank you very much in advance.
    Regards,
    Kishore.

    Thank you very much for the help.
    However this is not working,I think  I have not explained you myproblem clearly.
    I have 'Table Item' subform below this I have one more sub form 'Material' Subform.
    Table Item Sub form displays the Operation Detaild of a Work Order,and Material subform displays the Components of a Operations.
    So I want stop the presence of Material Subform when varaible Material is absent.
    Please let me know if its still not clear.

  • Multiple images into a subform in a dynamic non-interactive adobe form

    I want to convert a set of images into a PDF (one page for each image) with Webdynpro. I'm trying with a non-interactive adobe form.
    I followed the tutorial "Dynamic Non-Interactive PDF Form".
    I've got a multiple Context node: 'Images' with a string attribute 'url' for each image.
    In the form, I've created subform1, and subform2 within. I put an image field into subform2, setting its url to: $record.Images[*].url
    and its script to: this.value.image.href = xfa.resolveNode(this.value.image.href).value;
    It doesn't work.
    If I add a field into subform2 binding it to url attribute, I can see some lines with the correct path for each image, but the image isn't displayed.
    It works with a single dynamic image in the page. What am I doing wrong?
    Regards
    Anibal Pozo.

    No. It's form scripting. In any case I'm working with Webdynpro Java.
    I tried this code in table 'initialize' event.
    for int=0 upto $record.nImages do
    Table1.Row1[int].ImageField.value.image.href = $record.Images[int].url;
    Table1.Row1[int].Cell4.value.#image.href = $record.Images[int].url;
    endfor
    Cell4 is a static image.
    In 04SP9, it show always the same image in the image field (first column), and alternating image in cell4 (second column).
    In 04sSP6, it shows always the same image in all the rows in both columns.
    Any idea? I didn't find any OSS related.

  • Adobe Form -Interactive -Subform dissappear after Click

    Hi.
    I have a Interactive form with a Native submit button with single MAIN view .
    I am poupulating the form intially in WDOINIT method & I am trying to do some calculations on the form using submit click.
    Here is what i am doing onclick.After I click submit button item form dissappears completely .
    When I debug i see all the entries in the table lt_material but it doesn't shows up in the form.
    I don't have anycode in other Methods.What could be the reason? I can use scripts too but I need to use this functionality for other requirement.
    METHOD onactionclick .
      DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
      DATA lo_nd_material_node TYPE REF TO if_wd_context_node.
      DATA lo_el_material_node TYPE REF TO if_wd_context_element.
      DATA ls_material_node TYPE wd_this->element_material_node.
      DATA lt_material TYPE STANDARD TABLE OF wd_this->element_material_node.
      DATA wa_material TYPE wd_this->element_material_node.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <MATERIAL_NODE> via lead selection
      lo_nd_material_node = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_material_node ).
      IF lo_nd_material_node IS NOT INITIAL.
        CALL METHOD lo_nd_material_node->get_static_attributes_table
          IMPORTING
            table = lt_material.
      ENDIF.
      LOOP AT lt_material INTO wa_material.
        wa_material-diffq = wa_material-sysqn -  ( wa_material-usrmo + wa_material-relw1 + wa_material-relw2 + wa_material-relw3 ).
        MODIFY lt_material FROM wa_material.
      ENDLOOP.
      lo_nd_material_node->bind_table( lt_material ).
    ENDMETHOD.

    Chintan,
    I am using Onsubmit event which is the only avaialble option on form properties.
    I just named event as CLICK but I changed it now to submit but it is still doing the same .
    Itemform is dissappearing on click.
    Control type for native button is regular. code inside this button is .
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    All I am doing is retrieving the context data and doing some modifications and re-binding.
    FYI.. I am moving from WD1 (ALV with buttons ) to WD2 (pops up adobe form in new window intiaily) by transferring cookies . I need that button in WD2 .
    Do you think that cookies is causing this problem? because after click i don't need that context data anymore.All i need is form data which I get through
    IF lo_nd_material_node IS NOT INITIAL.
        CALL METHOD lo_nd_material_node->get_static_attributes_table
          IMPORTING
            table = lt_material.
      ENDIF.
    and re-binding
    lo_nd_material_node->bind_table( lt_material ).
    Rgds
    Vara
    Edited by: Vara K on Aug 13, 2009 5:22 PM
    Edited by: Vara K on Aug 13, 2009 6:28 PM

Maybe you are looking for

  • How to get multiple Rows in UCCX DB

    Hi All, Here is the scenario. One of customer has DB which return the multiple rows of data by querying against one Field. suppose there is a Field "National ID Number"  which fetches cutomers' more than one account like post paid customer , prepaid

  • CS5 no longer loads: preferences file is invalid. [was: need tech help]

    My copy of CS 5 no longer loads. get a message stating ".... could not initialize Photoshop because the preferences file is invalid 9 it was deleted ) " how do I fix this ????

  • Video output via composite cable & video output on iPad screen

    Is it possible to have the video play on the iPad simultaneously as it outputs to composite cable? Whenever I play a video with the composite cable plugged in, the iPad displays a screen shot of a random video (same screen shot every single time). It

  • Screen changes in BDC

    Hi Experts. Please let me know the way to solve the scenario that while bdc prog is running , after processing frst screen it will go to another screen rathar than thesecond screen.I mean to say that after processing frst screen control will go to th

  • ColdFusion Server Settings box is blank

    I finally got my copy of CFBuilder 2, and I've been trying to get it set up for my projects.  When editing code, I have a "Firefox" and "IE" tab at the bottom of the editor window, but when I click on either one (or if I click on the green "Run" butt