Adding a sub form between 2 flowed subforms

Hi...I'm attempting to add a sub form between 2 sub forms and make it flow.
I can add in my content, but I can't get it to push the content below it as it grows. I have it in a positioned subform and then wrapped in a flowed subform.
I attached my example so you can see what I'm talking about.
Specifically in the attached it's the text boxes that start with #1, #2, #3, etc....that grow but don't push down the content below them.
Thanks for the help!

Please see the fixed form attached.
You had two issues:
1. The subforms containing the expanding fields (SF_DIV and Subform12) needed to be flowed
2. The subform (Subform11.Table2.Row1[2].untitled Subform) was flowed, but had a fixed height which prevented it from expanding
I also reduced the size of your form from 201KB to 14KB by turning off 'Embed Fonts' in Form Properties > Save Options
Regards,
Ben Walsh
http://www.avoka.com

Similar Messages

  • Dynamic Forms and Flowing subforms -- Need help/Advice

    Hello All -
    I am creating a form for instructors at our college to complete. It has 3 pages, some static text, some required drop-down boxes, and three "comment" type areas which I would like to create so that they "flow" and display the entire contents when printed.
    I've read everything I could find so far, but I think I am missing something quite basic.
    I've created master pages, with a content subform on each one. I've placed all my content into subforms under that main content subform, named and ordered them the way they need to be. Most of it should appear as positioned. Only where there is one of the comment sections do I want/need the "flow content" option.
    I tried following the directions I found in another thread. If I set the subform with the comment area to flow, then I never get the page break option (and it is needed) - it's always grayed out. When I try to set the underlying subform on the page to 'flow content', ALL of the content from all three pages ends up on one page, everything on top of each other.
    What am I doing wrong?
    Can anyone give me some tips as to where at least to start looking for what I've not done or done wrong?
    Thanks in advance for any information -- it will be soooo appreciated!
    Lauren

    Hi Lauren,
    You only need one Master page, and there's no need to put anything on it unless you want a header/footer that repeats on each page.
    If you want to have things flow from page to page, create one body page object, and set its content type to Flowed (the body page is itself a subform). In it you put subforms with text, fields, and so on in them. Since your form will spill from page to page based on how much text the instructors type into the expandable comments fields, break up the forms content into sections (subforms) such that the layout can break between the subforms without taking away from the readability. These subforms should have a content type of Position. Even though there's only one body page object in your design, since you have three pages worth of stuff, it will spill onto three pages.
    Now for the comments fields, which you want to wrap and expand. Make sure that each of your comments fields is in its own subform. Set the field to allow multiple lines and, in the layout tab, click the box to Expand to Fit (height). For the subform that contains the comments field, set the height to auto-fit (layout tab). Also for the subforms that contain comments fields, experiment with the "Allow Page Breaks Within Content" checkbox on the Subform tab. If you expect an instructor to blab on for more than an entire page of text, you will have to select this box, but otherwise I suggest leaving it unselected so that the entire comment remains together.
    Jared Langdon
    www.jlangdon.ca

  • Focusing on fields between sub forms

    Dear All,
    We have to focus on some text field which is in a sub form when we click on some button. Like that we may have any no of sub forms, we have decide which subform field will be focused when click on a button. The xfa.host.setFocus is not working properly, its working only when we are in same subform. For example we have four subforms and in each sub form we have some fields. When we click on a button by observing the value in a textfield of a sub form we have set the focus on another textfield which is in another subform. Any help regarding this appreciated.
    Thanks,
    Nagesh

    Are you passing fully qualified SOM expressions to the setFocus method? ie, something like this:
    xfa.host.setFocus("xfa.form.formName.pageName.subformName.fieldName");
    H.

  • Imported Form and sub-form from another database. Sub-form not creating new records tied to parent form's data.

    I have imported all objects from an old access db (.adp file) into a new db (.accdb).  All of my data lives in sql server so I have added all the tables and views to the .accdb as linked tables.  My forms all connect to data, but I am having issues
    with a sub form.  The sub form does not allow for creation of children records tied to the parent record the way the old db did/does.
    Correct - old format .adp file (notice the empty second record in sub-form with the defaulted date of today's date):
    Incorrect - new .accdb file (notice the lack of empty second record in sub-form like above):
    If I click the create new record icon in the bottom of the subform, it creates a completely blank record not tied to the parent record (fields blacked out in screen shots above).  When using this button all parent record fields are blank.  
    I have also verified the child table used in the sub-form has a valid Fky relationship to parent table used in the parent form.
     

    Have you checked each forms 'Filter' property (in Design view) to make sure they are blank and that each forms 'Filter On Load' property to make sure it is set to 'No'? Also, you might try inserting the following commands in each forms On
    Open event:
    DoCmd.RunCommand acCmdRemoveAllFilters
    DoCmd.ShowAllRecords
    If you can open each forms Record Source and they are showing that new records are able to be entered (the new record * is showing at the bottom of the recordset), then check each forms On Load and On Open events to make sure there is no filtering.
    In addition, check any macro or VBA commands behind the button that opens the main form to make sure there is no SQL filtering in the DoCmd.OpenForm command.
    If one of the forms Record Source does NOT allow new records, then you will need to change that Record Source so the new record * indicator shows.
    Out of ideas at this point.

  • Text field issue in Sub Form

    Hello Experts,
    I am creating my very first Adobe Form for my client. I have created a subform with "Flowed" content. I have one Text Field in that sub form. When I try to place the second Text Field adjacent to that, it's not letting me do that. It's placing the Text Field under the first one. Can you please let me know how to overcome this issue?
    Thanks a lot for your help. I did search and could not find any solution for this.
    Also, I tried to change the position manually, but the X: and Y: positions are greyed out for me in Layout pallette.
    Edited by: sam jose on Apr 28, 2011 6:04 PM

    Hi sam,
    When you have selected the sunform to be "flowed" , there is an adjacent field where you mention the typr of flow - 'Top to bottom ' or 'Western text' . If you specify as 'western text' then you could get the desired result. you can use rectangles etc for any alignment based on your layout requirement.
    Soha.

  • Question about scripts in repeatbel sub-form objects

    Hi,
      I am working on creating a form which has a sub-form that can be repeated as many times as the user wants to. There is an ‘Add’ button which creates an instance of the sub-form on the form, when clicked.
    On the sub-form I have 5 numeric fields say a1-a5 and 1 field say b1 which is the sum of all these 5 fields.
    On the Main form I have a 2 fields - say t1 and f1.
    The requirement is t1=f1+b1+(sub-form instance 2’s b1)+(sub-form instance 3’s b1)+ and so on …depending on as many sub-form instances there are that the user adds.
    I have created Actions using the Action Builder such that when any of a1 to a5 fields are exited, b1 will be updated with the sum of a1-a5. At the same time t1 will be updated with sum of f1 and b1.
    This works great for 1 instance of the sub-form. But when ‘Add’ is clicked and a second instance of the sub-form is added, then the script does not work as it did for the first instance of the sub-form. So for any instances of the sub-form added, when values are added to a1-a5 and the fields are existed, b1 does not get updated.
    How can I fix this?
    See attached form that I am creating for clarity.
    ‘Total Hours worked this week’ is the t1 I was talking about. See how it gets updated when values are entered in any of the hour fields. It works fine with the default instance of the T100/Strategic/Advantage Customer Information sub-form as well. But when I click on ‘Add Customer’ button to add another instance of the sub-form, it does not work as expected.
    Please let me know if it is still not clear and I can explain the issue.

    Vjay's solution works great! Essentially, take out all of your other programming on the individual fields, and hard script the field you want the sum to show on. By directly referencing the fields, Adobe is able to tell the difference between one instance and another and doesn't get them mixed up. (I have found for some of these dynamic functions, the Action Builder doesn't really work, so you need to code by hand)
    My only suggestion, would be to perhaps modify Vjay's code a little, and use Javascript instead of Formcalc. We have run into the problem where if a user is using the form from a webserver or something and hasn't actually been saved to the user PC, the Formcalc scripts won't run, only Javascript. But it all depends on how you are using your forms.
    Here is your line of code changed to Javascript, in case you want to make that change. (there's really not much difference at all)
    this.rawValue = sum(CustomerTimeBD.Row1.Cell1.rawValue + CustomerTimeBD.Row1.Cell2.rawValue + CustomerTimeBD.Row2.Cell1.rawValue + CustomerTimeBD.Row2.Cell2.rawValue + CustomerTimeBD.Row3.Cell1.rawValue + CustomerTimeBD.Row3.Cell2.rawValue + CustomerTimeBD.Row4.Cell1.rawValue + CustomerTimeBD.Row4.Cell2.rawValue + CustomerTimeBD.Row5.Cell1.rawValue);

  • Multi page flowed subforms - help/resources

    Hi,
    Im having trouble with "flow" and multi pages subforms.
    I got a copy of JP Terry's book and also purchased the PDF bible - neither seem to have what i need.
    My forms are about 6 pages long each, and i want them to expand a contract based on user interaction (ie they are asked to tick a checkbox to add another beneficiary etc on a number of occasions).
    I can get the individual pages to expand and contract within themselves, but can not get subforms to flow properly over multiple pages.
    This is really a problem for us, as we dont want big white spaces if the client does not tick yes for example.
    Can anyone recommend a book, article or whatever on flowing multipage subforms
    i am setting allow page breaks and expand to fit etc and still not working. im on ES 8.2 (acrobat 9 pro)..........
    I tried to get the forms "finished off" by a contractor but they wanted 125 US (270 NEW Zealand dollars, or about 3 days average wages here) an hour which is a killer for a startup.....so any help or guidance much appreciated as were stuck... and have been for a month now......
    happy to send a file for people to see what im on about...........
    thanks

    Please see a working version of your form attached.
    I used the following concepts to fix your issue:
    "invisible" versus "hidden"  - Setting a subform to invisible will hide all the subform's objects, but will preserve the whitespace. For a form to expand and contract you must set subform visibility to "hidden"
    Positioned subforms have fixed height - Setting a positioned subform to "visible" will result in whitespace when some/all of its content is hidden
    Flowed hierarchy - For a Flowed subform to collapse and expand correctly all of its parent subforms up the hierarchy to the root node must also be Flowed. A good test is to click on an object within the subform that is not flowing correctly and navigate up the hierarchy using the left arrow key whilst keeping an eye on the Subform pallet. Any content that is Positioned needs to be changed to Flowed
    This resulted in the following changes in your form:
    Change the initialise event on more_trustess from this.presence = "invisible"; to this.presence = "hidden";
    Moved tee4-sub out of the positioned tee3-sub
    Set p2 to Flowed
    Ben Walsh
    www.avoka.com
    P.S. I reduced your filesize by 550KB by turning off the Save Options: 'Generate Accessibility Information (Tags) for Acrobat' and 'Embed Fonts'

  • Populateing a drop down list in a repeating sub form

    I have been using the scripts from the Purchase Order sample that work with the Country and States/Provinces drop down lists and have modified them to fit my needs. The scripts work great. However I have a drop down list that is in a repeating sub form and the only the drop down list in the first occurance of the sub form works. The others don't.
    I put this line of code in a field called drpOrderedByTeam.
    JobsScript.getJobsOther(xfa, xfa.resolveNode("form1.TimeSheetSF.DetailsSF[*].DetailsTable.DetailsRow.ItemNumber"));
    I thought I just needed to add an "[*]" to the name of the sub form and it would work with all occurances but it doesn't seem so and I'm not sure what else to do.

    Based on your explanations, I've attempted to re-create your form and I think I've got it working the way you'd like it to.
    There are some difficulties with using fields in table headers which are replicated on subsequent pages because while new instances of the header subform and the fields it contains are created, you don't have access to these instances using the header's Instance Manager (I think this is a bug but I'm not sure). This means that you can't iterate through the instances of the header in order to populate the task lists depending on the selection in the team list. One solution for this is to make all header fields Global (select each field and, in the Object palette's Binding tab, set the
    Default Binding property to
    Global). This means that all instances of these fields will share the same value. The effect is that when you change the value of a field on an instance of a header on any page, the change will be replicated on all instances on all pages. The catch, though, is when you use lists in the header. Making list fields global doesn't mean that their item lists are global -- which causes other headaches.
    In the end, because of the problems I've described, I had to resort to cheating a little but if you think about it, it's not really cheating. What the form does is whenever the team list value changes, it removes all instances of the DetailsSF rows. This has the effect of also removing all instances of the DetailTitlesSF headers accross the current page set (and removes all pages but the first one). Then 6 new instances of the DetailsSF row are generated and the DetailTitlesSF header is re-populated using the new selection in the team list. After that, if a new page gets generated because of the number of instances of the DetailsSF rows, the new instances of the task lists in the new instances of the DetailTitlesSF header will have the correct list of items based on the current value of the team list. In the end, even though I'm cheating by removing all instances of the DetailsSF row in order to reset the lists in the DetailTitlesSF header, it's not really cheating because if you change teams, then it should be assumed that all data entered doesn't apply anymore because the tasks change as well... Convinced?
    The best way to understand this is to check-out the sample form.
    Let me know if you have any questions.
    Stefan
    Adobe Systems

  • Navigating away form adf task flow causes validation to activated in WebCenter

    Experts,
    We are using WebCenter 11g.  We have created a task flow with a form on the first page.  There are a few fields that are required on the form.  We deployed the taskflow and are running it within WebCenter Portal.  There are three tabs:  "Home", "About Us", and "Ask for Information".  The "Ask for Information" tab the task flow that we are having trouble with.
    Here's what happens.  When we land on the Portal page, the Home page tab is where we land.  Then let's say the user clicks on "Ask for Information" tab, a form shows up.  This is the ADF form.  On the form, we request Name, email, phone etc. The Name and Email fields are required. We have a submit and a reset button on the form page.  Let's assume that the user clicked on this tab, realized they didn't want to provide the information, and wants to click back on the Home tab.  When they click on the Home tab, the form validation on the "Ask for Information" form fires and display an error telling the user that the Name and Email address have not been provided.
    This is very annoying and we would like some suggestions on how to overcome this issue.
    Thank you.
    Sam.

    Hi.
    You have two options:
    - Immediate property to skip validation step in the lifecycle as gawish said.
    - Wrap your form with an af:subform
    Regards.

  • Passing values to sub-forms  (Varaible scoping)

    I have a "parent" form that calls one of 6 subforms. I'm trying to figure out how to pass values derived in the parent to a sub form.
    I am running IdM 8.1.0.9 in glassfish 2.1.1. I set up these test forms to work through this:
    my Parent Form:
    <Form name='parent' objectLocationID='objectType=UserForm&objectName=parent&objectPath=0&isBegin=true'>
      <Display class='EditForm'/>
        <Include>
          <ObjectRef id='#ID#UserForm:child1' type='UserForm' name='child1'/>
        </Include>
        <!-- This value needed in child 1 form -->
        <defvar name='myvalue'>
          <s>test123</s>
        </defvar>
        <Field name='myfield'>
          <Expansion>
            <ref>myvalue</ref>
          </Expansion>
        </Field>
    <!--  My attempt at using <Variable>, IdM doesn't like this
        <Variable name='myextvar' external='true'>
          <ref>myvalue</ref>
        </Variable>
    -->
        <FormRef name='child1'/>
    </Form>
    my Child1 Form:
            <Form name='child1' objectLocationID='objectType=UserForm&objectName=child1&objectPath=0&isBegin=true'>
                <Display class='EditForm'/>
    <!--
               <Include>
                    <ObjectRef type='UserForm' id='#ID#UserForm:parent' name='parent'/>
                </Include>
    -->
                <Field name='subtext'>
                    <Display class='Text'>
                        <Property name='title'>
                            <concat>
                              <s>pre1:</s>
    <!--  
                               <FieldRef objectLocationID='objectType=UserForm&objectName=marty&objectPath=0&isBegin=true' name='myvalue'/>
    -->
                               <ref>myvalue</ref>
                              <s>:1post</s>
                            </concat>
                        </Property>
                    </Display>
                </Field>
            </Form>I was hoping that child forms would share the scope of the parent, and I could just use a <ref> tag in the child form, but that doesn't seem to work. So I started looking at FieldRef/FormRef but I'm not sure they are the right answer either.
    When the include in the child form is uncommented, I get :
    An unrecoverable error has occurred processing the request. Contact your system administrator.
    Syslog ID = LG-0405-115539.
    I'm guessing that this is because I include a form that includes this form, and created an endless include loop?
    When the FieldRef is uncommented, I get this error:
    Attruibute "objectLocationID" must be declared for element type "FieldRef".
    The <Variable> tag (defined as external) looks promising, but I haven't run across a good example of how to use it.
    When I try to add a <Variable> to my parent form, I get the error: Content of element type "Form" must match...
    This doc: http://docs.sun.com/app/docs/doc/820-5821/bvaex?a=view
    says that <Variable> is a valid form element, but IdM disagrees.
    Any suggestions on how to achieve the passing of values from one for to another would be greatly appreciated.
    -mk
    Edited by: mk152556 on Apr 5, 2010 6:27 AM

    An advice I usually follow: Skip defvars and variables, and stick to fields, hidden, not using any Display class that is, if you just need to use the field as an variable. Field are a lot more practical IMHO.

  • Can't get Sub-forms to Display in Right order

    Hello there
    I have a strange issue with the positioning of a series of sub-forms using Designer 8.2.1.3144.
    I have the following (schematic) structure
    (Top Level Sub-form)
    Sub-form 1
    Label 1.1
    Label 1.2
    Sub-form 2
    Sub-form 2.1
    Test 2.1.1
    Label 2.1.2
    Sub-form 2.2
    Fragment 2.2.1
    Fragment 2.2.2
    The fragments themselves have the following structure:
    (Top Level Fragment, e.g. Fragment 2.2.1)
    Text F1
    Floating Field F1.1
    Floating Field F1.2
    Label F1
    Sub-form F1
    (Lots of fields and sub-forms)
    The fragments themselves are quite long, typically more than a page. Whatever I do, Sub-form 1 (and its labels 1.1 and labels 1.2) are always shown at the top of the final page in print preview, typically breaking up a fragment. Try as I might, I cannot get them to be placed at the very top of the first page (as per the order in the design). I have tried a variety of ways to address the issue, including changing the positioning (flowed \ positioned etc.), and have played around with the keep with next and Allow page break within context settings, all to no effect.
    Any ideas much appreciated.

    Paul
    Thanks for the offer.
    Rather strangley, I made some obstensibly unrelated changes to these fragments and the issue seems to have gone away.
    Never really got to the root of the problem, but am not going to worry about it unless it reappears.

  • Show/Hide Sub Forms in LiveCycle ES 8.2

    Hello All,
    I am using Livecycle to create a form and want following functionality:
    If a particular value is selected from drop-down box, it should hide/show a sub-form.
    However, I am not able to do it. I looked at adobe livecycle docs, Adobe user forums, and GOOGLE...but fail to run the code.
    I have used following PDF as example:
    http://partners.adobe.com/public/developer/en/livecycle/designer/pdfs/ChangingObjectPresen ce.pdf
    The code below is written on drop-down box and I have BMD_Form as subform
    ----- form1.POS.Emphasis_info.subformOptions::change - (JavaScript, client) ------------------------
    switch (xfa.event.newText) {
    case "Invisible":
    form1.POS.BMD_Form.presence = "invisible"; or
    break;
    case 'Hidden':
    form1.POS.BMD_Form.presence = "hidden";
    break;
    default:
    form1.POS.BMD_Form.presence = "visible";
    break;
    Thanks
    Viral

    I found it after banging my head....

  • How to use parallel flowed subforms begining at the same position.

    How to use parallel flowed subforms begining at the same position in my form.
    Ex
    Subform1
    Subform2
    Subform3
    DropDownList1
    DropDownList1
    DropDownList1
    I would like to repeat  with a button the 3 subforms in parallel
    Subform1
    Subform2
    Subform3
    DropDownList1
    DropDownList1
    DropDownList1
    Subform1
    Subform2
    Subform3
    DropDownList1
    DropDownList1
    DropDownList1

    Post your question in the LiveCycle Designer forum.

  • Tab-order in sub-forms

    Hello,
    I have a problem to define tab-order in sub-forms. I am using the instance manager (addinstansces) to generate subforms (dynamic), but have problems to define the tab's to go horizontal and not top-down. I.e. if I have defined 3 subforms with ID: 1, 2, 3, and the text fields name and address the orders will go from ID:1, name:1, address:1, etc. My wish is to go from name:1, name:2, name:3, address:1, address:2 etc
    Any help out there?

    Hi Rebecca,
    By tabs do you mean the form fields? If yes, then you can simply rearrange them by repositioning the other fields using mouse.
    However, the e-mails that are received on submission of the forms show the original sequence of the fields.
    Regards,
    Neha

  • Repeating sub-form with XML data from aspx page

    Hi,<br />I am doing a POC where I have a repeating subform in my Life cycle form.<br /><br />Now I want it to show data based on the XML that I have written, sample is below.<br /><br />My problem is that the sub-form does not repeat. Can you help me with this problem or if you can let me know your experience if this is possible that would be great.<br /><br />Thanks,<br />Manish<br /><br />strXML = "<?xml version='1.0' encoding='UTF-8'?>"; <br />        strXML = strXML + "<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>"; <br />        strXML = strXML + "<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>"; <br />        strXML = strXML + "<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>"; <br />        strXML = strXML + "<xfa:data>"; <br />        strXML = strXML + "<RepeatForm>"; <br />        strXML = strXML + "<emp>name</emp>"; <br />        strXML = strXML + "</RepeatForm>"; <br />        strXML = strXML + "<RepeatForm>"; <br />        strXML = strXML + "<emp>name1</emp>"; <br />        strXML = strXML + "</RepeatForm>"; <br />        strXML = strXML + "</xfa:data>"; <br />        strXML = strXML + "</xfa:datasets>"; <br />        strXML = strXML + "<pdf href='http://servername/projectname/filename.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />"; <br /><br />strXML = strXML + "</xdp:xdp>";

    hi this is a sample i created for this check out this link
    http://anilmathewm.blogspot.com/2010/07/how-to-post-data-from-flash-to-php-or.html

Maybe you are looking for

  • Foreign Currency exchange gain & loss

    Dear expert, I have a problem here, need help. I have made the setting for foreign exchange gain/loss in OB09 and start to use f-28 for incoming payment. When run the simulation, it gives me 2 lines of exchange gain/loss calculation. 1st line with am

  • Problem in with automatic payment TRANSACTION    f110  transaction

    Hi We are facing problem with automatic payment TRANSACTION    f110  transaction  version SAP ECC6.0 When there are multiple invoices for the same customer with cash  discount amount  given by the user manually( not  cash discount percent) For eg if

  • Can't use any app utilities folder b/cNOT SUPPORTED ON THIS ARCHITECTURE

    Can't use any app utilities folder b/cNOT SUPPORTED ON THIS ARCHITECTURE in my macs utilities folder under applications where you find things such as disk utility and system profiler i have a problem. i am unable to open any of them. none of them hav

  • Error Message 523

    Help please - I am getting error message 523 I also cannot connect to the desktop manager to try to fix this - it just says new device & initializing - this goes just hangs - any ideas please Solved! Go to Solution.

  • Master-detail blocks

    I developped a form with 2 blocks that are linked with a master detail relation The second block contains the details record of the first one Example of tables : dept - emp Is it possible to add a record in the dept table that will show all the recor