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

Hello,
I am creating a form and there is a secion for 'Add a Dependent'.  The form only show enough fields for one dependent.  I have created a button that says 'Add a Dependent'. When the user clicks on this button I would like the section to show up again, asking for the information for the new dependent. Also, there will be a cancel button so that if they click on 'add a dependent' too many times, they can cancel each one individually if needed.The purpose for this is because it will take up much less space in the form. Can anyone help?
Thank you in advance,
Nik

Here is what I did for making the Subform repeat..
Selected the Dependants subform and went to the Binding tab, checked the cehckbox "Repeat Subform each Data Item"..
Placed the below code in the click event of the Add Dependant button.
     Dependants.instanceManager.addInstance(1);
Placed the below code in the Click event of the "X" button:
          if 
(this.parent.index>0)
          Registration.content.Dependants.instanceManager.removeInstance(this.parent.index);
Placed the below code in the Initialize event of the "X" button:
     if(this.parent.index==0)
          this.presence = "hidden";
Let me know if you have any issues..
Thanks
Srini

Similar Messages

  • How to make a new section visible in the server published version

    I use UPK 12 Client.
    When I click "Link a new section" in an existing Module, I can see it in the outline in the left pane in my UPK 12 Developer. When I then check-in all items, click Publish > select c: drive (a test folder) > Publish entire outline, the outcome includes the new section created.
    When I do the exact same procedure, but choose to click Publish > server (which is set up for my UPK) > Publish entire outline, the outcome does NOT include the new section created, but everything else yes.
    How to make the new section visible in the server published version?
    Thanks!
    Sille

    Hi Sille,
    Are you publishing over knowledge center? or is it publishing to a network drive? Once you check in the section save the module once and try again. See if it makes any difference.
    best regards,
    SD

  • How to make a repeated todo

    Does anyone know how to make a repeated to do like ...balance checkbook and have it repeat every three or for days...
    also is there a way to have an alarm be a text message sent to my phone...cool no?
    imac G5   Mac OS X (10.4.7)  

    I'm using GarageBand on a iPad mini 2

  • How to Validate a User on the click of a button in Oracle APEX

    Hi,
    How to Validate a User on the click of a button in Oracle APEX.
    say for e.g: I want to allow only a specific user to go beyond after clicking on a button and restrict all the other Users. Any ideas please.
    Thanks in Advance,
    Af

    Well , the actual idea was to hide the button for specific users and show the button only for some specific users... is this possible...?
    @ AndyH: yeah, what you have suggested also fits well for my requirement... Could you please let me know how can i achieve it...
    Regards,
    Af

  • How to close the detach popup on click of a button in the panel collection

    Hi,
    I'm using Jdeveloper 11.1.2.3.0.
    I have an af table surrounded by panel collection. There is a button on panel collection to commit the changes in the table.
    Clicked detach button to view the table in full browser.
    On click of Commit button, the detach popup is not closed. I have set partialSubmit of that button to false. Then also detach popup is not closed.
    Can anybody suggest me how to close the detach popup on click of a button in the toolbar.
    Thanks,
    Vinod

    Hi Frank,
    Thanks for your response. Popup is not closed.
    I tried this approach, when the view tree is navigated on the Detach, I see that the tree is same as if it is traversed on the page without detach.
    Printed client id and UI component class in the while loop, result is as below.
    r1:0:pc1:t3 class oracle.adf.view.rich.component.rich.layout.RichToolbar
    r1:0:pc1 class oracle.adf.view.rich.component.rich.output.RichPanelCollection
    r1:0:ph2 class oracle.adf.view.rich.component.rich.layout.RichPanelHeader
    r1:0:pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
    r1 class oracle.adf.view.rich.component.rich.fragment.RichRegion
    pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
    db2 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
    db1 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
    psl1 class oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout
    ps1 class oracle.adf.view.rich.component.rich.layout.RichPanelSplitter
    f1 class oracle.adf.view.rich.component.rich.RichForm
    Tried with setting partialsubmit property to false on the command button, still the popup is not closed and my Faces Message are shown behind the detach popup.
    Thanks,
    Vinod

  • How to make page scroll automatically on click, plz help ASAP

    Hi!
    I need to know how to make a page scroll up or down automatically when i click on an image.
    Too see example click here: http://www.morphix.si/
    I am very new to Dreamweaver and coding, so please be gentle. But I need help A.S.A.P if it's possible! =)
    Thanks!

    Hit F1 (help) and search for Named Anchors.
    The example page is one, very tall page with several named anchors on it.  When you click a button it takes you to the designated anchor on the page.
    <a href="#top">Link to Top</a>
    <a href="#bottom">Link to Bottom</a>
    The gliding effect is done with jQuery.
    http://www.position-absolute.com/articles/better-html-anchor-a-jquery-script-to-slide-the- scrollbar/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • How to make horizantal repeating table?

    Hi All,
    I just want to make horizantal repeating table in InfoPath form. In brief, if insert new item in repeating table it should add next to first table not one by one.
    How to achieve this, thanks in advance!

    Hello,
    It should work in IP 2013 as well. Also make sure that you are designing client form because it does not works in browser based form.
    http://www.bizsupportonline.net/infopath2013/videos/infopath-2013-show-hide-columns-horizontal-repeating-table.htm
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to make presentation's sections names appear in header?

    In header I would like to put sections names (say Aim, Experiment, Results, Conclusion) of my talk. The idea is when I am on "Experiment"  section's slides, all these names appear, say horizontally and only "Experiment" is visible while the other headings should blur or fade?.
    So the question is:
    How to break the presentation in sections or subsections?
    How to make Keynote manage relevant section headings i.e. fading out irrelevant headings, colours, fonts
    Of course I can write the names manually and for each slide do the necessay changes to the header. but lets face it: for 25+ slides this toturous.
    I know probably I would have to reedit some master slides or this there any coding to be done?
    I know this kind of things is rather simple in Beamer.
    I would really welcome any bit of help. !!

    this is a popular  straightforward and quick thing to do, its all set up manually
    It took me less than two minutes to create 40 slides as you describe:
    duplicate the blank master slide 4 times
    create 4 text boxes on one of the duped masters with your titles using gray text, paste these into the 3 other dup master slides
    change the text colour to orange of one text box in each of the new masters, so you have a different highlight colour in each master
    create as many new slides  as you need then add one the 4 master layouts to a selection of the working slides
    obviouly use colours and layout to suit your needs
    when you need a new slide, just apply one of the master slide layouts

  • N73 how to make the camera MUTE (no click sound)??...

    I want to know how to make the camera without any sound during taking the picture in NOKIA N73 music edition.
    please tell me as soon as possible
    Thank u

    Typical for discussion forum, the experts to give usless advice( ie "try silent mode") folowed by " its a privacy issue".
    I am unable to mute the camera on my E71.  I also assumed it was a legal issue.  Recently a friend of mine, showed me the Iphone 3Gs take a picture silently.  Silent photography with a cell phone is possible.
    This looks like something for a symbian upgrade or even a third party camera app.
    Send your camera upgrade request to Nokia, cross your fingers.

  • How to point to another tab on click of a button in another tab?

    Hi all,
      I am creating an application in which I am using Tabbar and then referring separate canvas for each tab using viewstack.Now I have a button in in one tab and on click of the button i need to open another tab.For reusability i have created separate mxml for each functionality of subtabs.Please help me on how to link the click of button in one tab screen to another tab.
    Thanks in advance.

    I would suggest creating a custom event that contains the index of the tab (viewstack child) you are wanting to move too.  The button would dispatch the event and the tab navigator would require an eventListener to listen for the event type.  The handler for the eventListner would then take the index passed and make the change myViewStack.selectedIndex=2 (or whatever the custom event contained)
    Note:  you could also pass the name of the tab you were wanting to move to and set it that way.
    -Joe

  • Want to make an iview invisible on click of a button!!!

    Hi Experts,
    We've a requirement wherein we want an iview to be called but it should not be visible on the left hand side navigation pane.
    Actually, the iview has been assigned to a workset and is called as soon as the user clicks on the workset. Now after the ivew is called it appears on the left hand side navigation panel as well as since we are using a workset map iview within the workset the iview is visible in the content area as well.
    I want that after the iview is called and the content is displayed. On click of a button, I want that iview to become invisible and the control should go to the next iview.
    I know how to navigate from an iview to another iview but I don't know how to make the first iview invisible on click of a button.
    Kindly suggest how can I acheive this functionality?
    Regards,
    Anurag

    Hi Vinod,
    Thanks for the prompt reply.
    Yes., the new iview would be visible in the same window and the previous iview should not be present on the left hand side navigation panel.
    Currently, since the iview is a part of a workset, on  click of a button the user is navigated to the new iview but the previous iview is present on the navigation panel. Is there any way possible so that we can remove the previous iview from the left hand side detailed navigation panel when the user navigates to the new iview
    Actually, we have a workset map iview and so all the iviews assigned to the worksets are available as links on the screen. After the user navigates to the new iview the previous iview's link should become invisible from the content area.
    Is this possible to remove the previous iview's link from the content area and the navigation panel on the left hand side?
    Thanks in advance for your reply!!!
    Regards,
    Anurag

  • How to cancelling email submission after user clicks "yes/no" button of message box?

    could some one tell me, how can i cancelling the submission event after one user clicks "yes/no" button of message box? The scenario is the following:
    After data input in a dynamic form clicks the user send mail button. Before the email submit, the user has to decide going back to the form and validate the input or continuing to submit email.
    In case of going back to validate input the submission event must not solve. So, how can i implemente it in java and/or form calc script?
    Thanks so much for your help in advance and i am very glad to hearing from you soon!
    Djinges

    Hello,
    The most easy way to solve your problem is to add two buttons, the first should be regular button and the second is submit by e-mail one. Set the
    'presence' property of the second to 'hidden' and add to it your email address. To the first button on 'click' event add the script like this
    form1.#subform[0].Button1::click - (JavaScript, client)
    var answer = xfa.host.messageBox("Send e-mail?","e-mail",2,1);
    if(answer==1){
    EmailSubmitButton1.execEvent('click');
    Hope this helps.

  • How to get current view name on clicking device back button?

    Hi,
    iam wriing a function for handling device back button(in android) press in my app.controller.js .How to get current viewname when clicking device back button.
    code samples will be helpful.
    my app.controller.js looks like below
    sap.ui.controller("com.opensap.App", {
      onInit : function() {
      document.addEventListener("deviceready", onDeviceReady, false);
      onBeforeShow : function(evt) {
      navButtonTap : function(evt) { 
    function onBackKeyDown(){
      //alert("hai");
      //sap.ui.getCore().byId("SalesDetail").app.backToPage("ProductList");
      //sap.ui.getCore().byId("ProductList").app.backToPage("Dashboard");
      //sap.ui.getCore().byId("SupplierDetail").app.backToPage("Dashboard");
    function onDeviceReady(){
       document.addEventListener("backbutton", onBackKeyDown, false);

    I somehow managed to find the solution
    function onBackKeyDown(){
      var app = sap.ui.getCore().byId("LoginDetail").app;
      app.back();

  • How to invoke a task flow on click of a button(CommandToolbarButton)

    hi All,
    I'm using JDev11g, ADF BC.
    Case Background: I'm designing a screen which has a summary and detail screen in same page. I'm displaying a table from which the user would select a row and click on a button to invoke an action through the Task Flow. In the Task flow i have two fragments one to view the record and other to edit the record. The form to view is read-only and the other is editable.
    Problem: I'm not able to invoke the task flow from click of the button, it just refreshes the page.
    I would like to know how to fix this issue.
    -Jyothi

    Hi,
    can i include page-fragments(.jsff) in the task-flow which is invoked by the select button in the page(.jspx). I would like to know if that could be a reason for the error.
    -Jyothi

  • How to control what VoiceOver says when clicking a radio button in Safari?

    Hello-
    I am developing a web page that I want to work in Safari & VoiceOver. Does anyone know how I can:
    1) control what VO says when it is hovering over a radio button (ideally some alt text or title attribute)
    2) control what VO says when I click a radio button in Safari (right now, it seems to say 'Group').
    I have tried to put the radio buttons in a fieldset, tried tons of attributes in the input tag (including alt, title, desc, description), but nothing seems to change.
    Here is a URL where you can hear what I'm talking about: http://postcalc.usps.gov/
    Turn on VoiceOver (try Cmd+F5), pull up the URL and hover over the 'letter' or 'large envelope' radio buttons, then click one of them. It says 'group'. I'd like it to say 'letter option selected' or something.
    Thanks for any & all help!
    Seth
    PS: I do know about the <label> tag. I've tried surrounding my <input> tag with a label and using <label for="someID">, but it doesn't seem to help.

    Thank you for the suggestion...it does work and fires the event, but it is still not selecting the current record when I try to perform an Update or Delete.
    I had to modify your code a bit in order for it work in JDev 10...used the JUCtrlValueBindingRef instead of the FacesCtrlHierNodeBinding.
    Here is what my af:table tag looks like:
    <af:table value="#{bindings.FeesView1.collectionModel}"
    var="row" rows="#{bindings.Fees001View1.rangeSize}"
    first="#{bindings.FeesView1.rangeStart}"
    emptyText="#{bindings.FeesView1.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
    selectionListener="#{backing_viewFees.tableSelectOne1_attributeChangeListener}"
    binding="#{backing_viewFees.table1}" id="table1">
    If I put back my 2 original attributes, then my Delete and Updates work.
    selectionState="#{bindings.FeesView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.FeesView1.collectionModel.makeCurrent}"
    Here is my code in the backing bean:
    public void tableSelectOne1_attributeChangeListener(SelectionEvent selectionEvent) {
    JUCtrlValueBindingRef binding = (JUCtrlValueBindingRef)this.getTable1().getSelectedRowData();
    if (binding != null) {
    Row currentRow = binding.getRow();
    if (currentRow != null) {
    System.out.println(currentRow.getAttribute("CurrentRecordInd")); // this does print my selected value!!!!
    }

Maybe you are looking for

  • Can't open raw files acr2 after update to cs5

    Im running a 64 bit windows 7..before the update to cs5,  running a cs4 and lr 2.6 with plugin ver 5.6, when i updated to cs5 and 2.7 for the LR, i cant open a cr2 files only jpeg and photoshop files and also  im getting error on LR error (LR has sto

  • How to call/show  page(s) from different application

    Hi All, I'm working on couple of applications and some reports (about 30) are used in all applications. I need your advice on doing this efficiently. Is it possible to 1) Create a separate application with all the reports. 2) Create a blank page with

  • Lonely man with no iPhone....

    Good morning I phone family my name is William Nazario. Today I got very interested on a I phone 6.My biggest problem is that I don't have any phone service with any phone carrier. How should I go about getting the phone with a two year plan and with

  • Re:addition of fields in selection screen1

    i want to add two fields in selection screen and fetch the correponding pernr(field in vbpa i.e personal number) based on these two partner functions. these two are partner functions are Service Representative ZQ Customs Representative ZG. i want log

  • How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods

    Hi All, How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods. This is a enhancement requirement. When ever user enter value in field 1 then automatically cursor should go to next field.