Repeating Sections in a form

Good day all.

I designed a project sheet for our section. The user is able to repeat rows and repeat a section when they want to add a new project. The lines and the section are contained in a single subform.

I have asked me if it would be possible to add a button that would work a little bit different. He word break something like that

I have basically 3 sections.

Section 1 Division. It contains 3 fields

Section 2 project. It contains 3 fileds

Section 3 details contains a 2 fields

Button1, the user would be able to repeat a line (Section 3). Adding items to a project.

Button2, the user would be able to add the new project, which would also contain Chapter 3

Button3 the user would be able to add a new division, which would also include articles 2 and 3.

I think that each section should be contained inside a subform?

Please let me know if now I went off the deep end... So any suggestions would be awesome

Thank you all

Chomp

Hi Chomp,

I'm not sure subform sets are necessary if you set your subforms like this

Form

-> Section1 (subform)

-> Section 2 (subform)

-> Section3 (subform)

i.e. section1 contains subform section 2 and section 2 the subform section3

each section must have the parameter on the link tab allows the subform to repeat

"Repeat subform for each data item.

and then the buttons would have something like that on the click event

(assuming that the buttons are included in their respective sections)

this.parent.instanceManager.addInstance (true);

If you place the buttons for that matter you will need to specify the correct path to the subform that you want to add.

hope this helps

Malcolm

Tags: Adobe LiveCycle

Similar Questions

  • ScriptUI repeating section does not work

    I'm pretty well versed in Javascript and ExtendScript now, including ScriptUI. However, there is something that escapes me, and it's when there is a repeating section in a ScriptUI dialog box and how to manage dynamic controls. Stand-alone example which should work very well in the ExtendScript Toolkit for InDesign CC 2015:

    /**
     * Label is an object that represents a single label for a product.
     * 
     */
    function Label(lSize, lQuantity, lInstructions, lContentType, lContents) {
        this.lSize = lSize; // String: The size of the label ("Brother 3x1", "Zebra 3x1", or "Zebra 6x4").
        this.lQuantity = lQuantity; // Number: Actual quantity of this label.
        this.lInstructions = lInstructions; // String: The instructions for this label.
        this.lContentType = lContentType; // String: "Text" = text-only label, "File" = file-based label (using pre-made artwork).
        this.lContents = lContents; // String or File: Depending on previous property, can be a String for a text-only label,
            // or a File object for a file-based label.
    }
    
    
    
    
    
    
    // Label groups, as an object.
    function labelGroup (labelPanel, quantityInstGroup, quantityInstStatics, quantityInstFields, quantity,
            instructions, labelSizeGroup,
            rbBrother3x1, rbZebra3x1, rbZebra6x4,
            labelTypeGroup, labelTypeRadios, labelTypeFields,
            typeFileGroup, rbTypeText, rbTypeFile,
            textfield, filenameField, browsebutton, fileselected) {
        this.labelPanel = labelPanel;
        this.quantityInstGroup = quantityInstGroup;
        this.quantityInstStatics = quantityInstStatics;
        this.quantityInstFields = quantityInstFields;
        this.quantity = quantity;
        this.instructions = instructions;
        this.labelSizeGroup = labelSizeGroup;
        this.rbBrother3x1 = rbBrother3x1;
        this.rbZebra3x1 = rbZebra3x1;
        this.rbZebra6x4 = rbZebra6x4;
        this.labelTypeGroup = labelTypeGroup;
        this.labelTypeRadios = labelTypeRadios;
        this.labelTypeFields = labelTypeFields;
        this.typeFileGroup = typeFileGroup;
        this.rbTypeText = rbTypeText;
        this.rbTypeFile = rbTypeFile;
        this.textfield = textfield;
        this.filenameField = filenameField;
        this.browsebutton = browsebutton;
        this.fileselected = fileselected;
    }
    
    
    
    
    // Label dialog.
    function getLabelInfo (labelArray, lastButton) {
        var totalNumLabels = 3;
        var wLabelTitle = "Label";
        wLabelTitle += totalNumLabels > 1 ? "s " : " ";
        wLabelTitle += "for item: " + "<Test Name>" + ".";
        var lastButtonText = lastButton ? "Begin Proofing" : "Next Product";
    
    
    
    
        var wLabel = new Window("dialog", wLabelTitle);
            var productNameText = wLabel.add("statictext", undefined, "<Test Name>");
                // productNameText.graphics.font = ScriptUI.newFont("Myriad Pro", "Bold", 20); // Font handling no longer works in CC+.
    
    
            var labelGroups = [];
            for (var index = 0; index < totalNumLabels; index++) {
                // For each label for this item, create a labelGroup object and add it to the array.
                var thisGroup = new labelGroup();
                thisGroup.labelPanel = wLabel.add("panel", /*[0, 0, 300, 75]*/ undefined, "Label " + (index + 1));
                thisGroup.labelPanel.orientation = "row";
                    thisGroup.quantityInstGroup = thisGroup.labelPanel.add("group");
                    thisGroup.quantityInstGroup.alignChildren = "top";
                        thisGroup.quantityInstStatics = thisGroup.quantityInstGroup.add("group");
                        thisGroup.quantityInstStatics.orientation = "column";
                        thisGroup.quantityInstStatics.alignChildren = "right";
                        // thisGroup.margins = [0, 3, 0, 0]; // [left, top, right, bottom].
                        thisGroup.quantityInstStatics.margins.top = 3;
                        thisGroup.quantityInstStatics.spacing = 15;
                        thisGroup.quantityInstStatics.add("statictext", undefined, "Quantity: ");
                        thisGroup.quantityInstStatics.add("statictext", undefined, "Instructions: ");
                    thisGroup.quantityInstFields = thisGroup.quantityInstGroup.add("group");
                    thisGroup.quantityInstFields.orientation = "column";
                    thisGroup.quantityInstFields.alignChildren = "left";
                        thisGroup.quantity = thisGroup.quantityInstFields.add("edittext");
                        thisGroup.quantity.characters = 6;
                        thisGroup.instructions = thisGroup.quantityInstFields.add("edittext", [0, 0, 200, 55], "",
                            {multiline: true, scrolling: true, wantReturn: true});
                thisGroup.labelPanel.add("panel", [0, 0, 2, 100]); // Vertical divider line.
                thisGroup.labelSizeGroup = thisGroup.labelPanel.add("group");
                thisGroup.labelSizeGroup.orientation = "column";
                thisGroup.labelSizeGroup.alignChildren = "left";
                    thisGroup.rbBrother3x1 = thisGroup.labelSizeGroup.add("radiobutton", undefined, "Brother 3x1");
                    thisGroup.rbZebra3x1 = thisGroup.labelSizeGroup.add("radiobutton", undefined, "Zebra 3x1");
                    thisGroup.rbZebra6x4 = thisGroup.labelSizeGroup.add("radiobutton", undefined, "Zebra 6x4");
                    thisGroup.rbBrother3x1.value = true;
                thisGroup.labelPanel.add("panel", [0, 0, 2, 100]); // Vertical divider line.
                thisGroup.labelTypeGroup = thisGroup.labelPanel.add("group");
                thisGroup.labelTypeGroup.alignChildren = "top";
                    thisGroup.labelTypeRadios = thisGroup.labelTypeGroup.add("group");
                    thisGroup.labelTypeRadios.orientation = "column";
                    thisGroup.labelTypeRadios.alignChildren = "left";
                    thisGroup.labelTypeRadios.margins.top = 6;
                    thisGroup.labelTypeRadios.spacing = 13;
                        thisGroup.rbTypeFile = thisGroup.labelTypeRadios.add("radiobutton", undefined, "File");
                        thisGroup.rbTypeText = thisGroup.labelTypeRadios.add("radiobutton", undefined, "Text");
                        thisGroup.rbTypeText.value = true;
                    thisGroup.labelTypeFields = thisGroup.labelTypeGroup.add("group");
                    thisGroup.labelTypeFields.orientation = "column";
                    thisGroup.labelTypeFields.alignChildren = "left";
                        thisGroup.typeFileGroup = thisGroup.labelTypeFields.add("group");
                            thisGroup.filenameField = thisGroup.typeFileGroup.add("edittext", undefined, "---", {readonly: true});
                            thisGroup.filenameField.characters = 20;
                            thisGroup.browsebutton = thisGroup.typeFileGroup.add("button", undefined, "Browse");
                            thisGroup.browsebutton.onClick = function () {
                                thisGroup.fileselected = File.openDialog();
                                thisGroup.filenameField.text = thisGroup.fileselected.name;
                            };
                        thisGroup.textfield = thisGroup.labelTypeFields.add("edittext", [0, 0, 200, 55], "",
                                {multiline: true, scrolling: true, wantReturn: true});
    
    
                labelGroups.push(thisGroup);
            }
    
    
            var buttonGroup = wLabel.add("group");
                buttonGroup.alignment = "right";
                var cancelButton = buttonGroup.add("button", undefined, "Cancel");
                var okButton = buttonGroup.add("button", undefined, lastButtonText);
    
    
    
    
        function getLabelSize (rButtonGroup) {
            for (k = 0; k < rButtonGroup.children.length; k++) {
                if (rButtonGroup.children[k].value === true) {
                    return rButtonGroup.children[k].text;
                }
            }
        }
    
    
        function getContents (currentGroup) {
            if (currentGroup.rbTypeText.value) {
                return currentGroup.textfield.text;
            }
            return currentGroup.fileselected;
        }
    
    
    
    
        if (wLabel.show() == 1) {
            // Assign data gathered from fields to product's object.
            var thisLabel;
            for (j = 0; j < labelGroups.length; j++) {
                thisLabel = new Label(
                    getLabelSize(labelGroups[j].labelSizeGroup),
                    parseInt(labelGroups[j].quantity.text.replaceAll(/\,/g, ''), 10),
                    labelGroups[j].instructions.text,
                    labelGroups[j].textradiobutton.value ? "Text" : "File",
                    getContents(labelGroups[j])
                    );
                labelArray.push(thisLabel);
            }
        } else {
            $.writeln("[getLabelInfo] Canceling the Label window.");
            return 7;
        }
    
    
        return 0;
    }
    
    
    
    
    
    
    var returnedValue = 0;
    var labelArray = [];
    returnedValue = getLabelInfo(labelArray, true);
    

    This one has the repeating section appear 3 times, but in my main program, it can appear once or even 10 times. I do not know beforehand, but I need information to be stored with each section. The problem lies in the selection of a file for an article using the button "Browse". I would like to file name in edittext field in the same section next to the button, but which does not occur. What can I make sure that * fact * happen?

    I had the same issue... and all by responding to this post, I thought of an idea and tested... My idea has worked so I'll share =)

    Set the variable edittext field and push the name of the variable in a table. You may need to do the same thing with the buttons and navigation of each button array element value in the corresponding element of the array text edit... I just did a simple test, as evidenced by this script:

    var alledits = [];

    with (a new window ("dialog", "Test Editboxes Multiple")) {}

    for (c = 0; c<>

    var = Edit Add ("' edittext ', undefined,"change the text box"+ String (c + 1))

    alledits.push (Edit);

    } add ('button', undefined, "OK")

    Add ('button', undefined, "Cancel")

    {if (Show ()! = 1)}

    Exit()

    } else {}

    Alert(alledits[0].) (Text)

    }

    }

  • create the missing icon against the section of the form of the application instance

    Hi all

    I use OIM 11 g R2 PS2, and I see that create icon missing against the section of the form of the application instance. I am trying to create an instance of the application, and when I try to load the form, I don't see the icon 'create' at all.

    Is this a known problem. ?

    Thanks in advance.

    This changed in OIM 11 g R2 PS2 version. To create resources for the instance of the application, you must follow the steps below:

    1. connect the console to sysadmin

    2. create a sandbox

    3. go in Configuration--> Form Designer--> select the resource type--> click on the button create

    From there, you can create the form. Once the form is created, it will be visible in the Instance, application from which you can modify the same.

    HTH

  • Sections of the form

    Hello

    In the form design Apex are you able to combine sections of your form together and separate them by topics as in the example shown in http://37signals.com/better/fedex/after.html with the numbered titles. You will be asked for a point of view ease of use.

    Rambo79 wrote:
    If an instance of a form with a submit button can be divided between several regions?

    Yes.

    What I don't want is several shapes on the page each with their own "submit" button. Because when I selected just to create region > shape on a view of table etc.

    What it does is actually creates a separate form below?

    It's not what I'm looking for I want just 1 form with sections divided into sub grouped topics or have sections split with H2 tags inbetween each section of the form fields

    Is this possible and if so, how?

    1. create the form region in the first section with all elements, controls, validations and the wizard process.

    2. create the other sections with their titles as HTML (not form regions) regions.

    3. in the tree on the definition of the page, drag the items to required areas.

    OR

    3. click on the button to Edit all in the section items (view of the component) or Edition all in the menu items (tree).

    4. click on the tab reallocate region Elements .

    5 shift elements to the required areas.

  • Shortcut to repeat an object to form a pattern?

    I didn't know there was a way to define a model by copying and pasting an object several times. for example. draw a shape of petal, then set a rotation and the spacing value, then repeat glue them to form a whole flower. Please tell me how to do this. Thank you.

    Another way (as Monika said, there are several) would be to use the effect-> Distort & Transform-> Transform.

    One of advantages of this way, is that the effect is live and can be accessed and modified through the appearance Panel.

  • Repeating a section within a form

    Good day all.

    I wonder is there a way I would be able to repeat an entire section in the same way, I can repeat a line in a table. Let me explain what I'm trying to do.

    I design a form for managers to report of projects, initiatives, etc. Because I'll never know how many different projects / initiatives a given Manager will, I wanted to design the form so the Manager could add an additional section for each of their projects / initiatives.

    For example; each section would have fields something like the following that I would be able to repeat.

    The project name, project background status spent and milestones, current state, and milestones.

    I think I figured out that the section must be in a single "subform", please correct me if I'm wrong.

    I understand the layout, it is now trying to get the full section repeat.

    Thank you all

    Chomp

    Hello

    It is the same method that you use for a table row.

    If you set it to be repeatable subform (see under palette object > link tab).

    You can use the ot adds addInstance method a new instance of the subform.

  • How to make a repeating section by clicking on a 'button '.

    Hello

    I have created a form and there's a secion for "add a dependent.  The form show enough fields for a dependant.  I created a button that says "add a dependent. When the user clicks this button, I want the section appears again, requesting information for the new person in charge. In addition, there is a Cancel button so that if they click on 'Add a person to charge' too often, they can cancel each individually if necessary. The purpose for this is because it will take much less space in the form. Can anyone help?

    Thank you in advance,


    Nik

    find the form here...

    https://Acrobat.com/#d=9cz0MWjB8a72m3QtKAizZA

    I moved the subform holding the button Add a dependant to be outside and below the subform to load...

    For the question that any registration is repeat because in the "Paging" subform "conent" property tab, you have selected the subform 'instructions' as leader of overflow. That's why when the page overflows to the other, the subform instructions happens first in the next page, then the section of the dependant. Now, I've moved the header in a subform separated the above instructions and selected "header subform" as the header overflow subform "conent...

    I hope this helps...

    Thank you

    Srini

  • What is the purpose of the checkbox on the left of a section in a form Documaker?

    The migration process of 11.4 Documaker to12.4 and just saw the boxes to the left of the sections listed in a form.

    What is the reason for them?  What are?  What happens if it is not checked?  Once disabled, the section is not displayed in the Studio, but he is out?

    I've highlighted the relevant sections of the Studio Guide documentation below.

  • May not know how to create a repeating table to PDF forms in InDesign

    Hello!

    It's all in the title. When I have my table with my header and footer, I can't understand how to create a repeating table for all users of my PDF files interactive.

    Thank you for your help,

    Will be

    If you mean that you try to create a table with entries from forms that develops by creating new topics, I'm sorry to tell you that is not possible in InDesign. It is not yet possible in Acrobat. The only software that takes in charge who is LiveCycle ES Designer that creates some XFA forms, a type of form which becomes less support in the future.

    -Dov

  • How to create repeating section

    Hi, I am fairly new to Acrobat DC and tried to find a way that I can insert repeating content control as in word and Infopath. I did a chat session to try to get advice but was intended to attach a file and linking to. I can see how that would work, but rhetorically, I am creating, there could be dozens of expandable sections.

    In word below, it is set up is you hit the signs so the table information is replicated with + the key + to replicate again.

    Is there an easy way to achieve the same in Acrobat Pro ms?

    Thanks in advance. Martyn

    Repeating section.jpg

    You'll want to ask this question in the forum Acrobat Acrobat

    Good luck.

  • Try to automatically fill in information is written into a section of a form in another

    I created a form in which I need information that is entered or selected (whether a menu drop-down or a radio button selection) in half superior form either filled in a section at the bottom of the form. I don't want the info at the bottom of the editable form - I just want to make it appear as text.

    So far, I was unable to get the info to automatically fill down. I thought by copying the text from the top of the form fields and sticking them to the bottom, keeping the name lie the same thing, it would work, but so far it is not.  And I have no idea how to do to copy the value from the drop-down list or radio button somewhere else on the form.

    Thanks in advance for any help.

    In your menu, click

    window

    -script editor

    He can't outrun initially to the top, but at the top of your screen, you will see a tab with a button pointing down by clicking on it will expand the script section

    You may need to drag it to a larger size to see more than one line

    the script they are referring to needs to go on the calculate event

    at the top of the script window is a field that says see the

    Click the drop-down list and select the event calculate, it should be about that 4th down

    example of

    under the form1.pg1.TextField1::calculate - (FormCalc, client)

    $.rawValue = DropDownList1.rawValue

  • Repeat section

    Hello

    It's the fifth time I'm recreating this form and I start thinking that I'll never get it right. I have a team of nurses and social workers who travel a lot, have many fees to submit and have little computer knowledge.

    So, I'm doing this form as easy to complete as possible. The form has this section of information that must be completed for each trip. Is it possible that I could have a button that you click and it creates another copy of this article below? I tried the front form with a predefined number of these fields (as much as I could fit on one page), but I find much need for employees more, then it would be good if they have managed to multiply this section of fields like so many times that they should. Any help would be appreciated. I posted the form on the website of acrobat; I hope that you can open it.

    https://Acrobat.com/?i=Oz5i2KSrSquuAsNXxA1n4w

    I used LiveCycle Designer ES 8.2.

    Thank you very much!!!

    Hello

    Here is the form to the you: https://acrobat.com/#d=CPM282EsLN1qTjfHbB995g.

    You must have a look at this example of dynamic arrays of the building: http://assure.ly/gk8Q7a.

    Hope that helps,

    Niall

  • A repeating section

    If I want to repeat a few seconds a clip I put Ctrl K cuts at beginning and end of the section, select the article, do a Ctrl C, place the ICT at the end of the clip (Page Down) and do a Ctrl-V.  Sometimes it pushes everything after the clip to the right, to make room for the copy of clips, and sometimes the copy seems to get slipped underneath the existing images to the right, I don't want to.  What I do differently every time and how I always grow the insertioin copy everything to the right?

    Thanks for your help,

    Steve

    When you have the ripple tool to modify the line with double-sided arrow selected, paste you (Ctrl + V) will be Ripple right, for the dough.

    Good luck

    Hunt

  • Problem adding dynamic sections in a form

    Hello

    I have previously used LiveCycle to create static forms, but I'm now trying to create a dynamic interactive form.  I'm completely new to this process, so I thought I would like to know trying to recreate the sample purchase order form provided with the software, to relieve myself in it.

    I am using LiveCycle Designer 7.0 on Windows XP Professional.

    In the purchase order example, two subforms with the fact that I'm afraid are the detailHeader subform that contains a button "Add item" and five static text objects; and the subform of retail, which contains a menu drop-down, a text field and three fields of digital type.

    Script to add an instance of the detail subform when you click on the button Add item.

    Now, I created the subforms and objects as shown in the sample purchase order form, and I walked into the JavaScript code, exactly as in the example.  I configured the entire form of "Flowing content" and have the same binding for each of the subforms settings as in the example.  But when I go to the PDF preview the addInstance does simply not.

    The script reads as follows:

    Call the Instance Manager to add an instance of the detail subform.

    _detail.addInstance (1);

    Can anyone suggest what it is I'm on?

    Check two things...

    (1) check if you have set the subform with Repeat fotr each data item... (Check the image below).

    https://Acrobat.com/#d=tgYANswsX6VA5BmmE7kvOA

    (2) see if you have set the Dynamic form by following the below...

    (1) file menu Goto-> properties of the form and select the default values tab change the default rendering in dynamic XML form Format

    (2) select the Preview Tab. Set the type of overview as a form 'Interactive form' and preview Adobe XML dynamic XML form

    (3) Finally, while saving the PDF select Save As Type 'Adobe Dynamic XML Form.

    If you still have questions please let me know...

    Thank you

    Srini

  • How to return a form (lightning bolt) I accidentally deleted in the add a section of graphic form?

    I didn't permanently remove the shape of my choice of the graphic form lightning bolt.  How can I get it back?

    You can reload the file. All forms that are displayed in the list can be added and removed all you want as long as you do not save over the original file or forget to save any new forms that you created.

    You will find a small icon in the upper right of the screen where you can recharge by default, others who came with Photoshop, but also the ability to save selected ones.

Maybe you are looking for

  • MAX Dosen´t detects my PCI GPIB

    Hi guys, I am currently using Windows xp sp2 and labview 8.6 adcademic there must be and interface for an instrument for school and my problem is: In MAX dosen't appear my PCI (keiithley provider) of KPCI - 488 A card, until my computer hardware, it

  • Can I make a restore point in windows 2008 Server SP2

    I want to restore point in windows 2008 Server SP2

  • flight simulator 2004 brake problem

    I posted a brake problem, indicating that the brakes have remained on after several recovery re-installation of Flight Simulator 2004 but I still have the problem even after installation of Flight Simulator X or facility the earlier 2002. I have trie

  • Lost all my data and Genuine Windows 8

    I had a problem in my laptop that my recovery disk has been formatted. So I went to the customer Service, they told me to format the data as my Windows has been tampered. When formatting is complete, not a single data were there in my HARD drive. Eve

  • Not possible to burn mp3 file to DVD using Media Player 10 data

    Using Media Player 10 - I am unable to burn the mp3 file in a DVD (the file is too large for a CD) data, but able to burn MP3s to CD. CatherineS