Creating a Dynamic Subform with Add button

I am working in LiveCycle ES and I am trying to create a form that will have a user inputed heading that will show at the top of each page along with dynamically added subforms and can not seem to get the button to dynamically replicate the sub form to work.  I have the form saved as a dynamic pdf and the subforms are set to flow.  Any help would be appreciated.  I can send form if it will help.
Thanks

I am having the exact same problem.  The subform I want to duplicate is not a table.  I had to wrap my subform in another subform to maintain the position of the fields.  The button is contained in the larger subform, which is set to flow.  My hieracrchy looks like this:
DateGridSubform (this subform is set to flow)
     DataGrid
          (various subform fields)
AddButton (this subform is set to positioned)
Any assistance available would be greatly appreciated.

Similar Messages

  • Dynamic table with radio buttons

    I need to load a dynamic table with radio buttons that allow
    the user to select an item in the table. I need to have it add a
    radio button with a unique identifier for each table item.
    For example: the table will load all of the seminars
    locations available in a certain state, the radio button will allow
    the user to select the city in which they would like to attend and
    that value will get passed to the registration page. The value of
    each radio button would be equal to the location_id in the database
    for each of the locations in the table (The table includes the
    date, day, venue, address, hotel info, etc. details for each city.)
    When I add dynamic radio buttons and set the value to the
    location_id in the database, it allows the user to select multiple
    radio buttons. I cannot find any information on how to
    resolve.....??
    Any help is appreciated.

    beanieboo wrote:
    > I need to load a dynamic table with radio buttons that
    allow the user to select
    > an item in the table. I need to have it add a radio
    button with a unique
    > identifier for each table item.
    >
    > For example: the table will load all of the seminars
    locations available in a
    > certain state, the radio button will allow the user to
    select the city in which
    > they would like to attend and that value will get passed
    to the registration
    > page. The value of each radio button would be equal to
    the location_id in the
    > database for each of the locations in the table (The
    table includes the date,
    > day, venue, address, hotel info, etc. details for each
    city.)
    >
    > When I add dynamic radio buttons and set the value to
    the location_id in the
    > database, it allows the user to select multiple radio
    buttons. I cannot find
    > any information on how to resolve.....??
    > Any help is appreciated.
    Give each radio button the same name
    <input type="radio" name=theLocation" value="<?php
    $recordset['location_id'] ?>">
    Mick

  • How to create a Dynamic Datatable with sorting functioanlity

    Hi,
    I am new to JSF and need some help can some one please tell me how to create a dynamic datatable with sorting functionality. I am reading data data from a database table and wants to build the datatable dynamically based on the columns returned. I know how to created a datatble with a fixed number of columns but can't figure out how to create a datatable dynamically with sort functionality. Any small example will help.
    Thanks

    Hi,
    Here is what I have so far and can't figure out how to add the sorting functionality. Any help is appreciated.
    Managed Bean:
    private List<MyDto> data ;
        public HtmlDataTable getDataTableOne ()
            if ( dataTableOne == null )
                populateCheckBoxes () ; // Preload.
                populateDynamicDataTableOne () ;
            return dataTableOne ;
        public void populateCheckBoxes ()
            data = new ArrayList<MyDto> () ;
            MyDto myDto1 = new MyDto () ;
            MyDto myDto2 = new MyDto () ;
            MyDto myDto3 = new MyDto () ;
            MyDto myDto4 = new MyDto () ;
            myDto1.setChecked ( true ) ;
            myDto1.setValue ( "myDto1" ) ;
            myDto2.setChecked ( false ) ;
            myDto2.setValue ( "myDto2" ) ;
            myDto3.setChecked ( false ) ;
            myDto3.setValue ( "myDto3" ) ;
            myDto4.setChecked ( true ) ;
            myDto4.setValue ( "myDto4" ) ;
            data.add ( myDto1 ) ;
            data.add ( myDto2 ) ;
            data.add ( myDto3 ) ;
            data.add ( myDto4 ) ;
        public void populateDynamicDataTableOne ()
            dataTableOne = new HtmlDataTable () ;
            UIOutput header = new UIOutput () ;
            header.setValue ( "" ) ;
            UIColumn tableColumn ;
            tableColumn = new UIColumn () ;
            HtmlOutputText textHeader = new HtmlOutputText () ;
            textHeader.setValue ( "" ) ;
            tableColumn.setHeader ( textHeader ) ;
            HtmlSelectBooleanCheckbox tCheckBox = new HtmlSelectBooleanCheckbox () ;
            tCheckBox.setValueBinding ( "value" , FacesContext.getCurrentInstance ().getApplication ().createValueBinding ( "#{row.checked}" ) ) ;
            tableColumn.getChildren ().add ( tCheckBox ) ;
            // Set output.
            UIOutput output = new UIOutput () ;
            ValueBinding myItem = FacesContext.getCurrentInstance ().getApplication ().createValueBinding ( "#{row.value}" ) ;
            output.setValueBinding ( "value" , myItem ) ;
            // Set header (optional).
            UIOutput header2 = new UIOutput () ;
            header2.setValue ( "" ) ;
            UIColumn column = new UIColumn () ;
            column.setHeader ( header2 ) ;
            column.getChildren ().add ( output ) ;
            dataTableOne.getChildren ().add ( tableColumn ) ;
            dataTableOne.getChildren ().add ( column ) ;
    MyDto.java
    public class MyDto
        private Boolean checked;
        private String value;
        public MyDto ()
        public void setChecked ( Boolean checked )
            this.checked = checked;
        public Boolean getChecked ()
            return checked ;
        public void setValue ( String value )
            this.value = value;
        public String getValue ()
            return value ;
    JSP
    <h:dataTable id="table" value="#{myRequestBean.data}" binding="#{myRequestBean.dataTableOne}" var="row" />Thanks

  • Create a dynamic query with or/and

    Hello!
    Please help to accomplish the following:
    User needs to create a dynamic query.
    There are few select lists: sex, race, state …
    User selects whatever he needs from select lists, which would become the first part of the “where clause” – i.e. (sex = ‘M’ AND state = ‘NY’).
    Then the user wants to add an additional condition using “OR/AND” – i.e. i.e. (sex = ‘M’ AND state = ‘NY’) OR (sex = ‘F’).
    I have been able to build the first clause and pass to a variable. I need to be able to clear the values in the select lists, but keep the value stored in the variable, and then append each new clause to the variable. This needs to be event driven by an item on the page.
    Any help is appreciated.
    Thank you in advance.

    Hi,
    At that point my application works fine.
    But I need to add ability to clear select lists and enter a new condition with 'OR'
    operator.
    The final SQL statement should look:
    select employee_id, name from employee_v where (sex = ‘M’ AND state = ‘NY’) OR (sex = ‘F’)
    Thank you.

  • How to create a dialog window with no button that opens along with the main window?

    When the main window is open, the dialog window opens up immediately and can be closed by key press. At other times, when the next step, ie: decision, comes to, the another dialog window pops up again and is again closed by key press. Does anyone know how to do? Use the sub-Vi? notification method? occurrence method?
    And another thing: how to create a reusable dialog window with no button so that different messages can be sent to it and it can closed by key press. And how to pass the string to the title of the dialog window programmatically?

    For your functionality (If I understand it right), nothing needs to be in the event structure. Pressing any key just triggers the event, thus finishing the VI (there is no while loop).
    Could you tell me what you mean my "it won't run properly"? Make sure that the front panel of the subVI is closed before starting the main VI. Remember that the subVI is set to "open when called" and "close afterwards if originally closed". So, if you had the panel open already, it won't of course close when finished!
    (Actually, the problems is worse when you have the subVI panel open when starting the main VI. you get a catch22 and labVIEW locks up because (1) the subVI is set to dialog and grabs all attention but (2) it has not been
    called, thus the event cannot be triggered. So don't do that!!!! As a quick workaround, add the modification shown in the attached image to ensure the panel of the subVI is closed.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    CloseNoButtonDialog.gif ‏3 KB

  • How to create a dynamic form with bind variables :schema & :table_name

    My application has two LOV's, one to select a schema, and the next to select a table within that schema. I then have a button which passes me to a report which displays the data in that table.schema.
    I now want to create a link to a form where I can edit the record based on the rowid of that table.schema, but it doesn't appear that I can create a dynamic form where I pass the schema.table_name and rowid. Is this possible? Can anyone advise how I can do this? The form builder only wants a fixed schema/table name.
    Thanks in advance.
    Stuart.

    Hi Stuart,
    In this sort of situation, you will need to be a bit creative.
    I would suggest a pipeline function called as if it was a report.
    Then you can pipe out the required fields.
    Since you will have a variable number of fields, you could use two of the multi row field names for your field names and values.
    Then after submit, you can create your own procedure to loop through the fields (stored for you in the Apex package) and update the table as required.
    Not very specific I'm afraid, but it should work.
    Regards
    Michael

  • HT2492 Problems with add (+) button

    Hi, my add button in the lower-left corner of the screen doesn't work anymore, any idea what I can do?  I can click it, but it has the same effect as clicking any other empty part of the dashboard... Cannot add or modify any of my apps.
    Thanks!

    Also, I just checked another login - my "safe login" - to see if it did it there too, and it was perfectly fine. So it has got to be something with the user profile. No idea what though. I'm trying to find something online to help clear it up. If I do, I'll post back here to share.

  • Howto create a dynamic link with current domain

    We need to create a dynamic link on a html page in the portal.
    The link should contain a dynamic part containing the domain where the CLIENT is in. It should look like this : http://mytool.windowsdomain.corp/tool where "windowsdomain.corp" is dynamic. Where could we get this information from?
    Thanks!
    Matthias

    Hi Matthias,
    you could paste something like this in a Custom JSP Component:
    <script type="text/javascript">
         function getServerURL() {
              return top.document.location.protocol+"//"+top.document.location.host;
         function redirect(uri) {
              try {     
                   top.location.href=uri;
              } catch (e) {
                //unfortunately this is not triggered in IE - only in mozilla
                   alert("No valid Redirection-URL could be generated. Please contact your Administrator.");
        redirect(getServerURL()+'/tool'+top.document.location.search);
    </script>
    Best Reagrds, Thomas

  • Dynamic visibility with Push buttons

    Hi ,
    Could anyone please guide me how to use pushbuttons with Dyamic visibilty option.
    Eg:-When I click on Push button1-It should display a bar chart
          When we click on Push button1-It should display a bar chart

    Hopefully it's OK to ask a similar question here rather than create a new thread.
    I would like to use the Label Based Menu component in conjunction with an invisible Toggle Button component (or possibly the new Push Button component).  The hidden button would insert into the same cell that the Label Based Menu component is inserting into.  This allows me to create what looks like a hyperlink in my dashboard that simply affects dynamic visibility.
    This seems to work for the most part, except that the Label Based Menu does not change to reflect the current state accurately.  For example, if both components insert "Apples" or "Bananas" as values into cell A1:
    1. Toggle Button component successfully inserts "Apples" and dynamic visibility works, however
    2. Label Based Menu component still shows "Bananas" as the active menu selection
    I thought I had come across a feature in some components where you could tell the component to update itself based on the changing values in a given insertion cell, but I don't see that now for some reason.

  • Creating a dynamic GUI with XMl

    Hey folks, i might have posted this already but i cant find it, so posting it again!!! I have an XML snippet that looks like this
    <button id=Add action=AddAction />
    Essentially what that does when parsed is creates a button and we load the AddAction using reflection and attach that as the actionlistenr for that button!! Now my problem is this, what if that the AddAction takes a parameter of say a Jtree, using reflection it tells me what parameters it takes but it doesnt tell me, "ok yep we pass in myTree as an argument into the construction of AddAction". Now im just looking for ideas for a solution to do this, how do i dynamically pass in references to objects i want to realize???
    Sorry if this appears twice but like i said i cant see it posted, any ideas or suggestions would be gratefull!!
    cheers,
    LL

    Also if any one has any thoughts on creating a front end using XML files, pros cons etc??? Just prototyping and wondering should i do down this road!!

  • How can I create an image gallery with "next" buttons?

    So I am almost done with my portfolio site (YES!)..now I just need the actual content (the images). My site is written in AS3.
    I've watched many tutorials on how to create an image gallery (auto scrolling ones, scrolling ones that require mouse hover, etc etc), but those aren't what I am looking for.
    I want a gallery that looks exactly like this one here:
    http://jalbum.net/res/help/integrating-tutorial.html
    I have a lot of work to display in my porfolio so there must be arrows at the end of the thumbnails so I can add more stuff. So I am just stumped on how to make the image gallery work with the ability to scroll for more photos with the click of the arrows.
    Any ideas? Thank you.

    Watching tutorials and learning from them are two different things.  If you have learned from them you should be able to use what you have learned to devise a gallery such as the one you link to.  If you have learned from them and cannot use what you learned, then you probably need to find/learn more.
    If you study the design you linked you should be able to reason out what elements you need to devise... it is not overly complicated. 
    For the large picture you could have a Loader into which you load whatever image is selected from the thumnails. To get a brief transition you could just set the alpha of the Loader to 0 when an image change is occuring and gradually fade it in after the image has loaded.
    The greatest challenge you are likely to face is in getting the thumbnails to advance back and forth depending on which is selected.  All of the thumbs would be placed in a container (movieclip or sprite) and that would be masked so that only a portion of them is visible. 
    All thumbs that are not selected have their alpha property set to some value less than 1.  Selecting one calls for the file it associates with to be loaded into the Loader.  If the choice happens to lie off screen, then you need to move the movieclip that contains all of the thumbs some set value in the right (+x) or left (-x) direction.
    If you want the thumbnails to wrap infinitely then when one leave the thumbnails area for movement in a direction, you need to take that thumb and relocate it to the other end of the thumbs in the container.

  • How to create a dropdown menu with sub buttons that link back to the labels on click.

    im trying to create a dropdown menu buttons that when you rollover to the top central button the button it opens up like a drop down menu would containg two other subsectional buttons. This makes the sub sectional buttons seperate from the main stage making it difficult to simply give them a on click,  sym.play("label") function.
    the buttons work like this in symbols or sections stage/panel/homebutton inside home button is group dev containg another group dev containg the button which I need to link back to a "label" in the /panel/ symbol or section. Thank you very much.

    pdp_1 wrote:
    Hi!
    I would like to create a DVD menu that offers two languages. So the first page gives two options: Language 1 and Language 2. Then depending on which language you choose, you go to a menu that proposes different videos and a photo slideshow.
    Regardless on which language button you click on initially, you get the same content but in different languages.
    I've been looking at Premiere's templates, which I can certainly customize, but I really don't see how to create the double menu. Does anybody have an idea?
    Put the video with the first language on the timeline followed by the video with the second language.  Use chapter markers so you can have each video as a chapter in the menu.
    I use Premiere Pro, so I can't give more specific directions. Perhaps somebody like ATR will chime in.
    Also, I have another question: can I put videos from different projects in the same DVD with Premiere or must all of the videos that go into the DVD be in the same project?
    Thank you very much!!!
    pdp1
    They must be in the same project.

  • How to create a sub vi with control button as a whole

    Hi, I am quite new to LabVIEW. So do bear with me.
    I was trying to create a sub vi of a contril panel that i had create. mainly on toggle and button. I need to create this control panl into a sub vi so that it can be put into the main Vi which was not done by me. I was given a input to the main VI. When I try to create, the contrl button was not inside this Sub VI. Why? what had i done wrong and it is not possible to do it in this way.
    Do refer to the attachment.
    Attachments:
    LabVIEWsubvi1.jpg ‏25 KB
    LabVIEWsubvi2.jpg ‏14 KB

    Ah, I see now.
    I think you are getting what you are going to get.  The control is tied to the front panel, so you can't just remove the front panel item when trying to make a subVI (I'm talking about the tool itself).  So you will need to delete the control from the main VI and disconnect the control from the connector pane on the subVI.  You are dealing with a corner case.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Creating a dynamic list with a sort by function

    Hello again,
    I've been steadily working my way through David Powers book, Essential Guide to DW4..... in order to gain a better understanding of how to update my website and make administration (slightly) easier through the creation of tables, etc., so my question is very much a newbie one.
    I have two tables in my site, one identified as country (consisting of a primary key and a list of countries by names as table) and one collector (consisting of a primary key, first name, surname, email address and foreign key for country).
    I have been able to follow the lesson guides and have had good success in modifying these for my own purposes.
    I have been able to create a form for inputing, modifying, deleting and listing collectors. In creating the list of collectors I have used SQL to order the list of collectors by country name in ascending order. All good so far.
    What I would like to do (for both administration side of site and public side) is to list the collectors as above, with one slight variation: A line break between each group of collectors with the country at the start of the list appearing only once, like as follows:
    Instead of:
    Bill Smith
    David Tray
    George Blow
    Something like:
    USA
    Bill Smith
    David Tray
    Zambia
    George Blow
    Again, many thanks for your time and assistance.
    Sincerely,
    John de Belle

    This is very easy to do. All that's necessary is to create a variable that keeps track of the country name so that it's displayed only once. Use an <h2> tag or similar (plus CSS if necessary) to create the extra space between countries.
    <?php // initialize variable to track country name
    $currentCountry = '';
    do {
      // display country name if it's not the same as the current value
      if ($row_recordsetName['country'] ! = $currentCountry) {
        echo '<h2>' . $row_recordsetName['country'] . '</h2>';
      // set the current value of the country name
      $currentCountry = $row_recordsetName['country'];
    ?>
      <p><?php echo $row_recordsetName['firstname']; ?> <?php echo $row_recordsetName['surname']; ?></p>
    <?php
    } while ($row_recordsetName = mysql_fetch_assoc($recordsetName));
    ?>

  • How to create a Dialog Box with two buttons (Acept and Cancel)?

    Hi i am devoloping an application (an applet) that has to throw a Dialog box, if i click on the Acept button makes some thing and if i click on the Cancel button the it makes other things.
    how could i throw this dialog message...?
    Thanks.

    The following would be the code needed for your dialog box:
         JDialog dialog = new JDialog();
         dialog.setModal(true);
         //the following window listener to the dialog box is optional
         dialog.addWindowListener(new WindowAdapter(){
              public void windowClosing(WindowEvent e){
                  System.exit(0);
              }//method
         JButton acceptButton = new JButton("Accept");
         JButton cancelButton = new JButton("Cancel");
         acceptButton.addActionListener(new ActionListener(){
              public void actionPerformed(ActionEvent e){
                  //do what you need to do
              }//method
         cancelButton.addActionListener(new ActionListener(){
              public void actionPerformed(ActionEvent e){
                  //do what you need to do
              }//mehthod
         Container cont = dialog.getContentPane();
         cont.setLayout(new BorderLayout());
         cont.add("West",acceptButton);
         cont.add("East",cancelButton);
         dialog.pack();
         dialog.setVisible(true); I hope this would be useful
    Rizwan

Maybe you are looking for

  • My Ipod is Freezing!!!

    When I plug my ipod into the computer, (first of all, itunes never pops up vrs.7) but it flashes for a second to do not disconnect then it just freezes. I try refreshing but it continues to happen. When i try to manually open itunes, that freezes as

  • How to send image as a part of message rather than as an attachment

    Dear All, I have to configure one scheduler job to send html message containing image. I went through couple of posts in the same thread list and I could send email but in all approaches image is being sent as attachment. Can somebody guide on how to

  • IMIC - how the **** does it work?

    I've read the posts regarding this tricky little beast but cant get a signal through on my mac. I've followed all the offered advice on settings and levels, noted the "counter-intuitive" button on the gadget itself, used garageband, audacity, toast,

  • Custom Table behaves differently

    Hello! We have a Z table that we made configurable (it was  not so before) and to keep change logs (it was not doing so before). The changes worked perfectly in the Dev system but when the transport was moved to Q, it still does not have these new fe

  • Perchè i contatti creati da telefonate ricevute non si memorizzano? Because the contacts created by calls received are not stored?

    Sono proprietario di un Iphone4 da un paio di mesi ed ho notato che i contatti memorizzati da chiamate ricevute non entrano nell'archivio CONTATTI . Cerco di spiegare meglio il problema, indicando qui di seguito la procedura addotta: 1) ricevo una te