Could not add the instance of a hidden subform

I use Adobe Designer 10 and have used the Action feature to set up my buttons.

Here's the problem:

The user is presented with a question:

You eat apples? Yes/No.

If the user selects the 'Yes' box, then the subform, 'WhatKindofApples', is set to Visible and appears.

If the user eat more than one kind of apple, the user must be able to add additional instances of 'WhatKindofApples' by clicking on the button 'add additional apples '.

If the subform, 'WhatKindofApples', is set to Visible the button 'Add additional apples' works very well.

If the subform is set to Hidden, then the Add button does not work.

So, it seems that there is some kind of conflict between being able to add additional instances of subforms hidden once they become visible. I have included my form Javascript code.

Here is the Javascript code for the Add button:

Form1. WhatKindofApples.AddAddlApples::click - (JavaScript, client)

+ PRODUCT - CHANGE (ID:0482B39E - E8D0-4F08-B 313-E142D733EE1F CRC:2782582760)

+ Type: Action

+ Result1: AddInstance ("$Node2")

+ Node2: form1 [0]. WhatKindofApples [0]

+ Node1: form1 WhatKindofApples [0] [0]. AddAddlApples [0]

+ Condition1: Button ("$Node1", "click")

+ ActionName: AddlEntityPrivate.click

this.resolveNode('form1._WhatKindofApples').addInstance (1);

If (xfa.host.version < 8) {}

XFA. Form.Recalculate (1);

}

//-

Any help would be greatly appreciated!

Hello

I suspect that the addInstance() is trying to work. Keep in mind that the addInstance() will create a new instance of the object that is repeated in its original state. So if the extensible object has hidden, then if new instances are created they will be also hidden.

A work around would be to establish the presence of the subform to visible in design mode (object > field palette). Then, in the object > range of binding the value the number Min 0. This means that when the form is rendered, the subform will not appear. Finally, the script in the click event of the button would add an instance, rather than make it visible.

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Could not add the instance VO in the AM data model

    Jdev version: 11.1.2.4

    Steps to follow:

    (1) created a VO based on the SQL query.

    (2) when you try to add the VO instance in the AM data model, "Add an Instance" arrow (right arrow) is disabled.

    Please advise.

    Found resolution - Metalink Note 1530486.1.

  • Cam of the NAC could not add the access switch

    Hi all

    My problem is I can't add the access switch to the cam using mozilla firefox or IE.here attech file cannot add the device. Any idea to solve my problem?

    Hello

    Plese note to add a device (switch) to the CAm, you must go to the leadership of OOB-> appliances-> New.

    First, you must configure the SNMP settings on the switch and the cam so that the cam and the switch can communicate.

    I advise you to make sure that carefully read the configuration for OOB guide and management switch:

    http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/48/cam/m_oob.html.

    HTH,

    Tiago

    --

    If this helps you or answers to your question if it you please mark it as 'responded' or write it down, if other users can easily find it.

  • Could not add the new folder to a new Library_Windows 7

    I get a dialog box that shows the following notification (see below) whenever I try to add a folder to the new library in Windows 7. I tried to get to a point where the notification is not display and add a folder to the newly created library but I am unable to.

    Dialog box:
    C:\Users\my name\Documents\ Embroidery\New Classes_Digitized adorable folder refers to a location that is unavailable. It could be on a hard drive on this computer... could have been moved to a different location.
    This new library is not related to the classes cunning. I create a library of classes adorable some time ago and added a new folder. I don't have to use the library and so I removed it. Probably not the right way to remove a library and thus the reason for the problem earlier. Any advice would be much appreciated.
    Carol

    Carol

    See if my answer in this previous thread helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-performance/why-cant-i-create-a-new-folder-in-Windows-7/0af243fd-138a-4e71-a34b-826153b80f62

  • Cannot add the instance ID

    I'm working on a flash AS2 file that contains drop-down list boxes.

    When I start the program I can right click on a button and add instance code it is to say the current selection is the button.

    After working on the file for a while, I can't do that.

    When I right click on the new buttons and objects and select actions the current selection shows as a frame not the
    object I want to add code too.

    It's very frustrating because I can not add the instance code.

    Any help would be greatly appreciated

    Alfred

    I think the problem was the button pin of current script. Some how I clicked on it and little matter I have a click right on it should always be the last script that I used before I hit the button.

    Thanks for your quick response.

    Alfred

  • VISTA administrator accounts disabled. Could not activate the hidden admin

    HI - all my VISTA administrator accounts are disabled. I could not allow the hidden administrator because it requires an active administrator. Can you help me create an admin user?

    Thank you
    Ganesh

    HI - all my VISTA administrator accounts are disabled. I could not allow the hidden administrator because it requires an active administrator. Can you help me create an admin user?

    Thank you
    Ganesh

    Sorry, if you are not set up as an administrator user account, you cannot enable the built-in administrator.

    This forum prohitbits someone help users to bypass the password protection, regardless of the reasons.

    This is the policy of the forum:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/keeping-passwords-secure-Microsoft-policy-on/39f56ef0-5d68-41AD-9daa-6e6019c25d37

  • I have a trial version of Illustrator and could not find the pencil tool.  How can I add it to the toolbar?

    I have a trial version of Illustrator and could not find the pencil tool.  How can I add it to the toolbar?

    It is in a group with the Shaper tool

  • listener_scan1 could not find the name of service

    Hi all

    I installed 11203 on 2 node RAC cluster. I created 1 listener to scan. When I give lsnrctl status LISTENER_SCAN1, I get the below error

    AMT-01101: could not find the name of service LISTENER_SCAN1

    Please, give your suggestions and help on this issue.

    Thank you

    NR

    Hello

    Try configuring the tnsnames.ora in this format and let me know

    If you use load balancing, try

    TBESTDB =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1531))(HOST = node1_vip))

    (ADDRESS = (PROTOCOL = TCP (PORT = 1531))(HOST = node2_vip))

    (LOAD_BALANCE = yes)

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = TBESTDB)

    )

    )

    And you can add below if you want to connect to a specific instance

    RAC1 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = rac1-vip)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = rac.oracle.com)

    (INSTANCE_NAME = rac1)

    )

    )

    RAC2 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = rac2-vip)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = rac.oracle.com)

    (INSTANCE_NAME = rac2)

    )

    )

    Note: Replace the SID, Servicename, hostname, port etc depending on your environment and also ensure that the tnsnames.ora should be in an appropriate format (for example: the opening and closing should be in the right order.) If you add an extra space further it will throw error..)

    Kind regards

    Pradeep. V

  • Firefox could not download the search plugin from

    I installed Firefox 24.0 recently and I am trying to install open www.youtube.com youtube Search Engine by clicking on Add "YouTube Video Search" in the search bar, but I get the following error message:

    Download error
    Firefox could not download the search plugin from:
    http://www.YouTube.com/OpenSearch?locale=en_GB

    What is a Firefox problem, or a youtube error?

    Thank you for your response.

    I don't want to install addon for youtube search. I just wanted to know if I can install the search engine for youtube as before.

    After a few readings on the internet I found that the search engine is described by a small XML file which is available through a link on the page. All other pages with operation generates the search engines like Wikipedia or IMDb content is XML refers to XML file. But the link to youtube opensearch descriptor points to an opensearch.osdx file.

    I don't know if it's the extension, or if he did not support tag inside but Firefox is not prepared to handle it and add youtube to search engines.

    I found this page: http://www.tobtu.com/customsearch.php I copied the relevant tags in the fields of seizure and added YouTube video Srearch. Now, it works fine.

    But the question remains: is it Firefox that can not handle the descriptor of opensearch sandard of youtube or youtube.com which provides a defective descriptor?

  • get the message "could not initialize the browser security component" offers solutions does not

    I get a message "could not initialize the browser security component" more a screen empty. 5 solutions offered in aid, only to create a new profile help, but this helps only for this session! So, I'll have to create a new profile each time I start Firefox. This means not favourites, without Add-ons (they require a reboot), etc. I even tried to delete the profile by default, but it does not help. The new profile is deleted whenever I start. What should I do?

    I've done this several times. The new profile would work for a single session. Each time, Firefox (or something) would remove the new profile, so he did not; I'm done with the default profile, which was obviously altered. Here's what finally worked. Of after your 1st answer, I saw that the other profiles exist as subfolders in the profiles folder, even if they were not listed when I did firefox.exe - p. So, I got the idea to uninstall Firefox and see if these files were still there. And they were! In fact, records of Mozilla, Firefox and profiles had not deleted with uninstall. I deleted the files, re-installed and now I'm fine and write for Firefox. So, if someone continues to have problems with a corrupted profile, suggest to uninstall and then deleting all records related to Firefox that are left behind.

  • ORA-12154 tns could not resolve the specified correct identifier

    I am facing the following problem:

    labVIEW 2012 32 bits 64 bits of Windows 7, 10.2.0.1.0 oracle client (32-bit).

    I created a DSN from Data Sources (ODBC) (32-bit version of what in % windir%\syswow64\odbcad32.exe) pointing to an instance of Oracle 10 g.

    I have test the DSN in this way (IE. Data sources (ODBC) and the connection is successful (which means that the tnsnames.ora is correct).

    I use the "DB tools Open Connection.vi" in order to get connected to this database, passing as parameters the DSN above, the user name and password.

    I get the error:

    ADO error: 0x80040E4D
    Exception occurred in the Microsoft OLE DB provider for ODBC drivers:

    [Oracle] [ODBC] [Ora] ORA-12154: TNS could not resolve the specified correct identifier

    all will help much appreciated

    Thanks in advance

    Hello everyone.

    I already solved the problem (work until late Saturday).

    the solution was to install the latest version of the Oracle customer, namely: Oracle 11 g Release 2 CLIENT for Windows 32 (11.2.0.1.0).

    Now everything works OK.

    I also tested in Windows 7 32 bit (the .vi even and the same Oracle client). This will also OK.

    Thans a lot.

  • I have W XP, SP3. Suddenly, Adobe reader showed the error: Acrobat could not load the DLL base.

    I have W XP, SP3. Suddenly, Adobe reader showed the error: Acrobat could not load the DLL base. Have Adobe reader X (10.0.1) who refuses to be carried away. Other than a drive X (10.1.0) has been reinstalled. Also have Acrobat reader 5.0 is installed from a CD of the Canon scanner slide. The error remains. If anyone can help. Leif Stg

    Hi Leif,

    Where do you get this error message?

    I suggest you to follow the steps and check if it helps.

    Method 1: Uninstall all the instance of Adobe reader and Acrobat reader and install the latest version of one of the drive and check if it helps.

    http://get.Adobe.com/reader/?promoid=DINRS

    Method 2: If the problem persists, perform a system restore and check if that helps.

    How to restore Windows XP to a previous state

  • What is "Error of Privoxy" Privoxy (oooooobo) fatal error: could not check the configuration file ':(error number 2) Config.Txt

    What is "Error of Privoxy" Privoxy (oooooobo) fatal error: could not check the configuration file ':(error number 2) Config.Txt.

    I always get this message in a long horizontal area on my desk top once I restart and turn on my computer.

    Thank you

    "Privoxy" is a 3rd party is no program not part of Windows XP.  You can go to
    Panel-> Add/Remove programs
    and remove this program.  If you still think that you need this program, try reinstalling it on Sourceforge
       <>http://sourceforge.NET/projects/ijbswa >

    HTH,
    JW

  • "Windows could not update the configuration to start the computer" error during the upgrade of Vista in Windows XP

    I have a laptop Dell Inspiron 1505, that is running Windows XP Media Center Sp3. I'm doing a place in upgrading to Vista since the disks to upgrade Dell... Everything's fine until the 'Expansion of the files' [27%], then the installation fails with this message: "Windows could not update the configuration to start the computer. Installation cannot continue. Any changes made to your computer during the upgrade". I did a google search for a fix that involves changing a value in the registry in the HKLM\SYSTEM\CurrentControlSet\Control\Class\ {4D36E976-E325-11CE-BFC1-08002BE10318} for example change the value to PartMgr Upperfilters. Unfortunately, this value was the default for my registry key changes could be made. Some other fixes involved the renaming of Upperfilter.bak, for Upperfilters unfortunately this .bak value does not exist in my registry.

    I tried to boot from the disk of Vista and changing the msconfig for a selective startup but without result.

    In addition, the stall even appears at a similar point when you try to upgrade to Windows 7. Is it because of the presence of hidden Media Direct and Dell restore partitions? Compatibility Assistant programs for the two operating systems found nothing significant. Anti virus has been disabled during the installation procedure. Any help will be greatly appreciated. Thank you.

     

    Hello

    Not quite, but pretty close. Media Direct could not lock the boot sector. It must be a BIOS lock or a mechanism of protection provided by your antivirus software.  Given that, I would check your program settings then for all that prevents changes to the boot sector. You may find more easy just uninstall it and reinstall it after the upgrade. Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • Error: Windows could not find the username, when residential group folder sharing.

    Original title: Windows could not find the user name

    I use Window 7 Ultimate and have set up a homegroup. In Windows Explorer, I select a folder and choose share with. I have in the file sharing dialog box, select a user name (I checked that it is a valid user), and then click Add. I get the message "Windows could not find . I can't find a reference anywhere on the web for this problem. I'm the first one to see it?

    Hi David,

    For any question of shared folders in the homegroup, run the resolution of the problems of shared folders to automatically find and fix some common problems.

    Follow these steps to run the troubleshooter.

    a. Click Start, type troubleshooting and press ENTER.

    b. click on show all the link in the left panel.

    c. click on Shared Folders to run the troubleshooter.

    Also have a look if you have file sharing set up properly.

    For more information, you can consult the following articles.

    File sharing essentials

    Share files with anyone

Maybe you are looking for

  • whenever I use my search bar, he goes on some Russian site

    whenever I use my search bar, it goes to this website it is all the Russian and I cannot read a word about it. y at - it something I could turn off which could cause it to use Google for my search bar. I don't like the Russia. the webthingy is the UR

  • Satellite 35DVD - increase RAM

    I want to increase the RAM in my 35DVD, but it is not clear how to access the locations of memory. Can anyone here help with directions please? TIA Russell

  • Add more ports at least 8 for future Nighthawks

    It would be wise to increase the number of available ports as ITO are poping up like crazy and we have the rapid growth of the population of home devices. I would like to see 8 ports with 2 additional for the aggregation port. and the icing on the ca

  • I encounter errors of certificate for each Web site on all browsers.

    Have already tried EVERYTHING on this site, including the date and time, the security settings in Internet Explorer, patches fix - it, the reloading of the IE and malware/Antivirus who come clean. I know that other people have this problem, because t

  • Function List.Delete

    Hi allCan you get it someone please let me know the logic of operation for the list.delete function and how it works.I tried the sub query, but it is not delete the record.DECLARETYPE typ_part_nameISTABLE OF mak % ROWTYPE;v_part typ_part_name;BEGINSE