Add instance in a subform which also can be doubled

Hi,
I have a subform X which can be doubled by a click on the button. In that subform X there is another subform Y which also can be multiplied to a maximum of 3.
Now when I add a subform X and i want to add some subforms Y. The form will only add the subform Y in the first subform X and not in the second one.
This is the script I use:
for subform x
if(Incitant52.subFoireAcheteur.all.length < 2){;
Incitant52.subFoireAcheteur.instanceManager.addInstance(true);
and for subform y
if(Incitant52.subFoireAcheteur.subAcheteur.all.length < 3){;
Incitant52.subFoireAcheteur.subAcheteur.instanceManager.addInstance(true);

To add instances to the second occurance of subform x you will need to address it with subformx[1].
Note that the [ ] brackets are not valid in javascript so your expression should look something like this:
xfa.resolveNode("Incitant52.subFoireAcheteur.subformx[1]").instanceManager.addInstance(1)

Similar Messages

  • After updates to ios 5.1.1...i can't add or edit my contacts and also can't take a photo at my contact lists. The '+' icon is suddenly disappear from my screen...anybody can assist me on this issue?

    after updates to ios 5.1.1...i can't add or edit my contacts and also can't take a photo at my contact lists. The '+' icon is suddenly disappear from my screen...anybody can assist me on this issue?

    At last, the BEST solution!
    In addition to my last post, here is the solution for fixing this problem without syncing your contacts with icloud.
    It takes about 2 minutes and permanently solves the problem so you can start adding and editing your contacts again on IOS 5.1.1!
    Basically you just need to follow these steps from the Settings page:
    Enable Airplane Mode
    Go to iCloud settings
    Turn on Contacts
    Agree to 'Merge Contact'
    Wait for pop up to confim iCloud contacts are on
    Turn off Contacts
    Confirm that you want to Keep your Contact on the iPhone
    Wait for pop up to confim iCloud contacts are off
    Disable Airplane Mode
    Airplane Mode temporarily blocks all phone signal/data to stop your contacts merging with icloud.
    Thanks to Washyman and Drewie77 for that info above! I got it from this post and it worked fine.

  • Running os 10.9.2 and showing that I have a flagged message,which I can't find. Also, now have a 'flagged' message mailbox that I did not add. any ideas how to clear an apparently nonexistent flag?

    running os 10.9.2 and ever since I loaded it, I am showing that I have a flagged message,which I can't find. Also, now have a 'flagged' message mailbox that I did not add. any ideas how to clear an apparently nonexistent flagge message in Maverick?  I've tried all the basics and nothing seems to show

    Have you tried resetting the SMC ?     >  Resetting the System Management Controller (SMC)

  • In which folder can I find the abap instance profile?

    Hi,
    In which folder can I find the abap instance profile?
    This is the parameter that I want to change:
    "profile parameter em/address_space_MB = 250 in the instance profile"
    Greets
    Stefan

    Hi Michal,
    my actual problom is, that during the Java-Add-In-Installation an error appears. (CJS-20057)
    j2ee-engine (dvebmgs00) do not start during this installation.
    I also change the value of max. heap size and try a rebase as it is shown in note 129813.
    nothing chances.
    this error appears all the time.
    can anybody help me please?
    Thanks.
    Greets
    Stefan

  • Add Instance Subform content to textbox

    Hi all,
    There is sth I would like to do.
    I have a form which has a text field that is in a subform where you can add instances. No problem with pages etc.
    Now, I have created a text field where I would like all entries to be repeated as plain text possibly separated by rows.
    For example:
    Textbox in Subform: Eggs
    Textbox 2 in Subform (after clicking the add instance button): Butter
    Text box at the end should either say:
    Eggs, Butter
    or
    Eggs
    Butter
    Does anyone have an idea on how I can achieve this?
    Thanks a lot,
    Larissa

    Hi Paul,
    Actually I have several requirements. I have attached the pdf as this seems easier at this point.
    At the beginning of the pdf, I have the marks in three boxes. I would like to concatenate them with a comma between the different entries into a text field that users can then copy paste into the next form.
    Let’s say in the first box you put:
    A
    B
    C
    In the second,
    D
    E
    I would like to have a text box that comes out as: A,B,C,D,E
    Second problem I am facing with this task is at the countries.
    I have a country online selection and a second country selection.
    Ideally I would like to have just one box with all countries and be able to tell the pdf that certain countries have the characteristic “Online”.
    Thus if the client clicks on “Add” I would have two list boxes: One for Online and one for Rest. Depending on what the characteristic of the country it would either go into the Online or the Other.
    Any ideas on my problematic.
    I was thinking working with numbers and maybe telling the system that if it is under 100, move to Box 1, if it is over 100, move to Box 2.
    Thanks for your help.
    Kind regards,
    Larissa

  • Is it possible to add non-contiguous instances of a subform

    Hi there,
    Our staff may fill out a form with say, 10 repeated subforms ("add instance"), then need to go back and add another instance, not after record 10, but after record 3.  Or they may need to add records in alpha order.
    How can I set up the "Add Record" button so that the instance is added at that point in the form, rather than at the very end of the records?
    Am I explaining this clearly? They need to go back and add an instance in between other existing instances...
    Here's the form itself:
    Dropbox - AFBS_90-Plus_091814.pdf
    Many thanks to anyone who can help me build in this function to make our staff's life easier!
    Laura

    This is fantastic! Exactly the function we need. Thank you!!!
    Okay, so I have dumb-designer questions.  I'm entirely ignorant of how to use javascript, I'm just a layout person. Sometimes just by dumb luck I manage to adapt a script and make it work in one of my own forms, but I haven't made it happen with this one yet.
    Is there any resource out there I can read for how to adapt a piece of script? Like a process that needs to be followed in terms of identifying objects correctly?
    Sorry if it's a dumb question, it's been a while since I've tried to do anything with javascript and I'm not havin' any luck.
    Many thanks,
    Laura

  • Subform add Instance problem

    G'day
    I'm very new to LiveCycle and teaching myself to create forms
    I have a drop down box in a subform requesting information. Depending on the information required certain text boxes will appear (using switch case script) dateFrom dateTo dateCourt txtOther
    When I add a new instance of this subform the list appears correctly in the drop down box but when the item is selected the text boxes do not appear at all.
    I am probably missing something fundamental. Any ideas
    Cheers
    //cboInfoRequired
    RFI.InfoRequested.Info.cboInfoRequired::exit - (JavaScript, client)
    switch(RFI.InfoRequested.Info.cboInfoRequired.rawValue){
      case "Info A":
      RFI.InfoRequested.Info.dateFrom.presence = "visible";
      RFI.InfoRequested.Info.dateTo.presence = "visible";
      RFI.InfoRequested.Info.dateCourt.presence = "hidden";
      RFI.InfoRequested.Info.txtOther.presence = "hidden";
      break;
      case "Info B":
      RFI.InfoRequested.Info.dateFrom.presence = "hidden";
      RFI.InfoRequested.Info.dateTo.presence = "hidden";
      RFI.InfoRequested.Info.dateCourt.presence = "visible";
      RFI.InfoRequested.Info.txtOther.presence = "hidden";
      break;
      case "Info C":
      RFI.InfoRequested.Info.dateFrom.presence = "hidden";
      RFI.InfoRequested.Info.dateTo.presence = "hidden";
      RFI.InfoRequested.Info.dateCourt.presence = "hidden";
      RFI.InfoRequested.Info.txtOther.presence = "visible";
      break;
      case "Info D":
      RFI.InfoRequested.Info.dateFrom.presence = "hidden";
      RFI.InfoRequested.Info.dateTo.presence = "hidden";
      RFI.InfoRequested.Info.dateCourt.presence = "hidden";
      RFI.InfoRequested.Info.txtOther.presence = "hidden";
      break;
    //cmdAdd
    RFI.InfoRequested.AddInfo.cmdAdd::click - (JavaScript, client)
    RFI.InfoRequested.Info.instanceManager.addInstance(1);

    Hi,
    the problem is your SOM expression.
    When you write RFI.InfoRequested.Info.dateFrom.presence = "hidden"; the PDF-viewer interprets it always as RFI[0].InfoRequested[0].Info[0].dateFrom[0].presence = "hidden"; where the accessor [n] is always 0 which means the first instance of the related object.
    It should work if you just write dateFrom.presence = "hidden"; because the object is at the same level in the hierarchy and there is no need to parse the entire tree to find the object.

  • What is the best way to make drawings an notes during class (on my iPad), which I can add to my (digital) handout later on?!

    What is the best way to make drawings an notes during class (on my iPad), which I can add to my (digital) handout later on?!

    Hello BDAqua, thanx for the suggestions. Before I saw this reply I tried to first quit the finder and then to relaunch the Finder but that resulted was a blank gray screen.
    In the end I ended up having to power down the iMac.
    Fortunately the RAID array that was "active" seems to be fine and also has a firewire 800 connection so I can use it_ just not with thunderbolt until this issue is solved.
    I'm going to check in the Applications>Utilities>system log to see if any clues are evident_ thank you for the suggestion.
    PS: Nothing of note was obvious as a root cause in the Activity Monitor though.
    hmmm....I was told that the Helios and seritek card were compatable and that the Helios didn't require any drivers..it will be a drag if there isn't an easy fix for this since this new PCIe card from seritek is the first to offer port multiplier compatibility for eSATA to thunderbolt...since they are both new I'm hoping that an OS upgrade will be the fix (presently7.2)...we shall see.

  • HOW i can identify  which instance is associated with which Listener

    Hi all,
    i created one DB instance. suppose named as "B". but there is already another DB instance present. Named as "A".
    Then i created one listener for DB instace "B".
    Now my Que. is that HOW i can identify which instance is associated with which Listener,.
    2) if i create listener then a service also created. if i stopped that service and then can i fire query OR Login again, WHAT will be the expected result.
    I tried by asking people for my answer. but not satisfied.
    Please Help me For this.
    Thanks in Advance

    856376 wrote:
    i want to start my carreer in DBA.
    In what manner i ahve to prepare my self.
    Your guidance will help me lot
    Thank youLike everything else, the answer is "it depends".
    What is your background and experience with computers, networks, operating systems, programming languages?
    What are you currently doing?
    What formal and or on the job training have you had?
    As Aman said, build yourself a test system and play with it. You can do this at no cost by ...
    1) download and install VMplayer (vmware.com). It is legally free. For an investment in your career of about US$185, you can buy VMworkstation, which has the same fundamental capability plus some nice management features.
    2) download and install Oracle Enterprise Linux (oracle.com). It is legally free. If you want a support contract, you pay for that.
    3) using (1) and (2) create a virtual linux server
    4) download and install Oracle Enterprise edition database (oracle.com). It is legally free for personal eduction.
    5) install (4) on (3).
    Beyond the above questions I have some boilerplate replies that fit here . . .
    if people want to be professionals in ANY field, the first knowledge they need to acquire is how to locate AND USE+ the fundamental reference materials for that profession. And the most important trait, the one for which they are really hired, is the ability to do independent research, and having a modicum of curiosity that would drive one to do that research. We don't mind helping newbies, and even the most experienced person on this board will run into something they are not familiar with, or occasionally just require a second set of eyes to look at something. But a professional+ needs, above all, a willingness and capability to check the docs. A professional isn't necessarily someone who has all the answers at their fingertips or has a full understanding about every arcane subject in their field. It certainly isn't someone who has an encyclopedia full of memorized answers but little understanding of how it all fits together. It's someone who knows where to find the answers when needed, how to recognize them when he sees them. It's less about knowing than it is about attitude. Everything you asked can be answered in the Oracle Concepts Manual at tahiti.oracle.com. You should bookmark that site.
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com.
    Drill down to your product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

  • How can i add  fields to a cube which is in production support

    hi,
       how can i add fiels to a cube which is in production support.

    Hi Maruthi
    You need to add new fields to cube in Development system and then transport it to production after testing.
    Edit cube in RSA1. Add the new infoobjects from right hand directory to left hand pane and assign these new infoobjects to suitable dimensions. Save and activate the infocube. Now go to change update rules for this infocube and do proper mapping of these infoobjects.
    Save & activate the update rules.
    RSA1-> Transport connection-> select cube, update rules and related objects and create transport request.
    After testing is done, give the transport request number to your Basis person and he will do the transports for you.
    Regards
    Pradip

  • I forgot all of the answers to my security questions and when I set up my apple id I did not add a rescue email, I recently got a new iphone and I cannot purchase anything on it because it asks me to answer my security questions which i can't reset, help!

    I forgot all of the answers to my security questions and when I set up my apple id I did not add a rescue email, I recently got a new iphone and I cannot purchase anything on it because it asks me to answer my security questions which i can't reset because I do not have a rescue email. what do I do?

    this does not help. I have forgotten ALL of the answers to my security questions. I can NOT reset the answers to my security questions without answering two of the three security questions. The other way to reset the answers to these questions is for apple to send me an email on my rescue email addres which I DO NOT HAVE.

  • I have a Mac on my home network and also a Systemline music server on same network. My PC was able to find the server but my MAC cannot. I can ping the server from the mac, but cannot actually connect . Also can't add the mac as a location from server

    I have a Mac on my home network and also a Systemline music server on same network. My PC was able to find the server but my MAC cannot. I can ping the server from the mac, but cannot actually connect . Also can't add the mac as a location from server, despite following the Systemline instructions that impy this can be done.
    Can anyone please advise what I am doing wrong?

    Hi LowLuster
    Thanks for reply. I am not an expert on these sharing protocols but I think I have turned on SMB sharing but still wont connect. I tried adding netwrik drive by using cntrl K in finder and using smb\\network address but nothing. It is driving me mad!!

  • IWeb is not working for sending podcasts to iTunes, so I need a new web building tool. What is the closest thing to iWeb that I can use, which also supports podcasts?

    iWeb is not working for sending podcasts to iTunes, so I need a new web building tool. What is the closest thing to iWeb that I can use, which also supports podcasts?

    There's no reason you can't go on using iWeb for this - with iWeb '08 you have to publish to a local folder (i.e. on your Mac) and then upload the contents of the folder (not the folder itself) to your hosting service: and you have to make sure you enter the new URL in the Publish information or the feed won't work properly; this done, an iWeb podcast should work fine.
    Of course there is still the problem that iWeb is not supported and sooner or later a system upgrade may break it. You could look at RapidWeaver: you can make podcasts with that, though the last time I looked into that - which was admittedly some time back - I didn't feel it was ideal for this. There are lots of other podcast creation programs or services around. WordPress is OK but it may be a bit of a steep learning curve: Libsyn is an online service that seems to work reliably. Blogger writes messy feeds but does usually work. Podcast Maker used to work well - I used it myself a few years back - but it rather looks as if it's gone moribund and it may not be reliable with Lion/Mountain Lion, so you would want to check into that.

  • Plz suggest me the website by which i can download videos from youtube in 1 click ... i mean in which there will be a option of download appears same as like, add to, share,

    plz suggest me the website by which i can download videos from youtube in 1 click ... i mean in which there will be a option of download appears same as like, add to, share,

    This addon can help to you
    * https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/

  • Hi When going from Develop module to print module a white boarder appears on screen which also prints via my epson r3000 printer. I can get round this by exporting photo to Elements and printing from there but can i get rid of the boarder and print from l

    Hi When going from Develop module to print module a white boarder appears on screen which also prints via my epson r3000 printer. I can get round this by exporting photo to Elements and printing from there but can i get rid of the boarder and print from lightroom?

    In the printer driver (accessed through the Page Setup button) set the Advanced tab to borderless. Then in the right hand panel under Layout set all the margins to zero.

Maybe you are looking for