Targeting several subforms with a common name in all a form

Hello

I found a few tips of this online, but this day with few details as effective methods.

Did anyone had success with subforms that have the same name across a form of targeting? The intent is to hide or disable the content of these subforms by using a script.

These subforms are many and at various locations in the form, so I try to find a way to use the common name for all these target at once, as opposed to specifying absolute locations for all of these subforms. By comparison, what comes to mind, is how classes can be used in CSS to target several elements. My first thought is something in the sense of getElements, although I got a bit of a wall of bricks so far!

Any thoughts would be greatly appreciated!

Thank you

Swiped it set of a locking simplified fields Radzmar validated any script and it seems to work. I surprised myself sometimes (I'm not a coder!).

function hideSubs(vNode) {
     if (vNode.className === "subform") {
          //name of subform you're targeting
          if (vNode.name === "targetSub") {
               vNode.presence = "hidden";
          }
     }
     for (var i = 0; i < vNode.nodes.length; i += 1) {
          hideSubs(vNode.nodes.item(i));
     }
}
hideSubs(xfa.form);

Tags: Adobe LiveCycle

Similar Questions

  • Several files with the same name.

    Cannot publish to Business Catalyst because of a fatal error, where it is said "why do we have several files with the same name?  The website and all its contents have not changed in more than a year with the exception of minor changes to the wording so unable to understand what the error is encountered. Are there not better misdiagnosed at one point less for the files in question.

    The problem is the result of a mixture of case-sensitive and case-insensitive between how files within the .oam are put into interaction with and what is written in the muse_manifest.xml file during a re - download full compared to an incremental download.

    If all .oam packages files are tiny and the original .oam were replaced in Muse with the all new tiny .oams, then you should select Upload: publish all the files in the dialog box Options. From there, forward publication of incremental changes should work without errors.

  • Return of the mistake of MUSE: why do we not have several files with the same name?

    Well - I thought I had all this worked and fixed, but I met the download error 'Why do we have several files with the same name' once again.  (I downloaded all the files several times today in order to 1) works the way it worked the last time and 2) get an OAM file that is not loading for some reason any load again and the download takes about an hour to transfer all the files manually.

    To recap:

    (1) an option "Upload only modified files" returns the 'Muse has encountered an error and closes.  Why do we have several files with the same name? "error just as before.

    (2) a full download will work but takes forever and is NOT a substitution for work changed files option.

    Please advise with possible solutions!

    -Dave

    Is it possible to have two .oam different files in different folders on your computer where the .oam files have the same name? I'm theorizing that there may be a bug in the treatment to ensure the folder created for a .oam placed on the server receives a unique name, particularly in the case of a partial update of the site on the server.

    Please send us the .muse file and all the files in .oam related to [email protected] along with a link to this topic for the context so we can attempt to reproduce this error and isolate the root cause. If files are larger than 20 MB, you'll need to use a service such as Adobe send & Track, Dropbox, creative cloud, WeTransfer, etc. file sharing. Thank you.

  • XOQ-01950: Cube contains several BuildSpecifications with the same name.

    Hi all

    When executing the option to maintain Cube he throws under question: any clue?

    XOQ-01950: the AWCubeOrganization for cube 'NN_OLAP_POC. MARKET_SALES_CUBE"contains several BuildSpecifications with the same name.

    Thank you
    Exq

    This error should show only upward when you create a cube (by importing XML), not when you maintain. So, I'll assume that's what you hear.

    If you are importing XML that references an OLAP object that already exists, whereas the new definition replaces the old. The only exception to this rule is the BuildSpecification object. This kind of object is called, but it does not follow these conventions (for reasons of disorder of implementation). If you import the XML code that has a BuildSpecificaiton with the same name as one that already exists, then you will trigger the error you see. Here is a relevant example of XML.

    
     
    
    

    The solution is to remove this section from the XML before importing it.

  • Download error - why don't we have several files with the same name?

    Since the upgrade to 2015.1 a couple of days, I can't update my site using the feature "only changed files.  If I do I get this error, followed by the Muse stops completely.

    2016-02-12_16-23-38.png

    If I change the upload to 'all files and folders' everything is wonderful, even if it takes an hour to update the entire site rather than the usual 10 minutes.  Given that it will only grow of it is I hope it is on the radar of the Adobe + 400 current pages team.  What should I do?

    Well, I got the error to stop on my own.  I downloaded several times with a full scale 'all files' downloading and finally opened the site on my iMac to perform the update it.  Same configuration, the same file, even software - after uploading each file one last time on the other machine I can now do a upload "only changed files" to be.

    What the hell was that?

  • Inifile several elements with the same name

    Hello

    I have a file of similar to an ini file setting. I can read with the toolslib inifile.

    A [SPLINE] section has a lot of variable, number, lines all begin with DATA =. The line of these data is read as a string. The content is 3 values as input for a spline interpolation.

    Inifile labwindows Analyzer can read that and he can write it. The number of elements in the section [SPLINE] equals the number of rows of DATA. When he writes, he recreates [SPLINE] section with several items that all as DATA begin =.

    Now I want to read later, each of these DATA items, retrieve the values of three and put them in some tables.

    The ini_get('sendmail_from') functions have as input a sectionname and an itemname. So when I use Ini_GetPointerToString, I always get the first occurrence of this itemname or always the first line.

    How can I get the second and third... String?

    Kind regards, Jos

    I'm using Labwindows CVI 8.0 for Windows

    I use the inifile toolslib\toolbox Analyzer

    Ini_WriteToFile data looks like:

    [ENGINE]
    MOTORNUMBER = 4
    REQUEST = 0 - 25.0 28.0 0.000 1.0 0.0 0.0
    WAVELENGTH = 41 45,000 0.000 0.000 1.0 0.01 1.0
    BANDWIDTH = 42 - 20, 000-25,000 - 24.960 1.0 1.0 0.01
    NAMES = 43 - 6.0 95.0 0.000 1.0 2.0 0.3

    [SPLINE]
    DATA = 240,3, 0.006,-42,0; Zemax * /.
    DATA = 253,7, 5.034,-42.85; High performance Hg100 spectraal lamp * /.
    DATA = 280.4, 12.396,-44.7. High performance Hg100 spectraal lamp * /.
    DATA = 296,8, 15.761,-45.1. High performance Hg100 spectraal lamp * /.
    DATA = 334.2, 21.389,-47.2; High performance Hg100 spectraal lamp * /.
    DATA = 404.7, 27.680,-50.4; High performance Hg100 spectraal lamp * /.

    Hello

    Thanks to you two.

    Because the ini library has been able to export the complete set of data, including multiple DATA key, I had little hope that there is an easy way to use this library. Your comments, it is not useful to look for a work around.

    In the meantime, I found an another iniparser (http://ndevilla.free.fr/iniparser/). It doesn't "support" no double keys, but I can probably it adapt for my application. If not, I'll take a few excerpts from the library labwindows and this second example and have to build my own.

    Kind regards, Jos

  • List of the files in the dir with the common name [JS] folder?

    I'm probably getting on the nerves of the everybodies now - and I know I should try harder to convince my boss to let me "Scripting InDesign CS3/4 with JavaScript" - by my Savior on several occasions Peter Kahrel. I know, I know.

    I only snapped Applescript (roughly), now I have to go cross-platform, and I'm a JS noob.

    All that being said... I can't try to file requests that all start with the same 8 digit number in a specific folder.

    In Applescript, I was able to use:

    the value servergraphics to (name of every file in the graphicpath folder whose name starts with adCID) as a list

    This has created a list of graphic files that I can match against.

    Now, I have tried every way I can think to duplicate this line in JS - nothing works.

    Should I declare an array that contains the calculation?

    Thanks in advance - new

    Hello

    var Folder = folder ("/ drive / file /");

    Uses of the var = theFolder.getFiles ();

    theResult var = [];

    for (i = 0; i

    {

    Assuming 8 sequence of numbers is a static number.

    You can also use grep to match 8-digit >

    If (theFiles [i]. Name.match(/^\d{8}/);

    {if (theFiles [i]. Name.IndexOf("01234567") == 0})

    theResult.push (theFiles [i]);

    }

    }

    theResult;

  • Assignment of sequential numbers to several lines with a common attribute

    Oracle 10i, seek to alter a query only select a total of 96 unique compoundnames and number each batchids Group 1-96.


    Entry
    Table EX

    Unique_ID, CompoundName, BatchID, quantity
    -------------------------------------------------------------------
    1, 1000 EX, EX 1000 100, 100
    2, 1000 EX, EX 101 1000, 100
    3, 1000 EX, EX 1000 102, 100
    4, EX 1001, EX 1001 100, 100
    5, EX 1001, EX 1001 101, 100
    6, EX 1001, EX 1001 102, 100
    7, EX 1001, EX 1001 103, 100
    8, EX 1001, EX 1001 104, 100
    9, EX 1001, EX 1001 105, 100
    10, EX 1002, 1002 100 EX, 100
    11, EX 1002, 1002 101 EX, 100
    12, EX 1002, 1002 102 EX, 100
    .
    .
    .
    100 +, EX 1095, EX-1095 100, 100


    -----
    Using

    Select distinct * from
    (
    Select Unique_id, CompoundName, batchid, quantity, Sum (Quantity) on sumqty (CompoundName partition)
    EX
    )
    where < 500 sumqty
    Order by 2, 3;

    Provides data collected by compoundnames and the total amount of all sharing the same name composed data (and only the results with the total amount < 500).

    I am looking for a way to recover only 96 compoundnames unique (not total the data lines) at a time and the numbering of resemble them this desired output;


    Unique_ID, CompoundName, BatchID, quantity, Sum (Quantity)?
    -------------------------------------------------------------------
    1 EX 1000, 1000, 100, 100, 300, 1 EX
    2, 1000 EX, EX 101 1000, 100, 300, 1
    3, 1000 EX, EX 1000 102, 100, 300, 1

    10, EX 1002, 1002, 100, 100, 300, 2 EX
    11, EX 1002, 1002, 101, 100, 300, 2 EX
    12, EX 1002, 1002, 102, 100, 300, 2 EX
    .
    .
    .
    100 + EX-1095, EX 96, 100, 100, 100 1095

    Thanks in advance.

    Published by: user13112928 on June 26, 2010 11:49

    Published by: user13112928 on June 26, 2010 11:50

    Published by: user13112928 on June 26, 2010 12:01

    Then place the DENSE_RANK of the outer query when you filter the data, not the inner query where you have it now.

  • Stored procedure to remove a number of tables with a common name attribute

    Hi all

    This is my first post so I hope I posted level with enough information. This is my first stored procedure (SP) and Oracle 10.

    I'm trying to write a script to remove 11 paintings and some lines of another 3 tables, which are named with a number I want to enter at the time of the creation of MS below is the script that I wrote and edited. My original was lost by crashing the servers!

    When I run the script, it gives me the following output:

    "WARNING: execution completed with warning.
    procedure ScenarioDelete update"

    MS has not deleted one of these tables and I don't know if it's because my script is poor or because of something else. Any help is greatly appreciated!

    -table remove SP
    --
    -Race start ScenarioDelete ('x'); with the idscenario x

    create or replace procedure ScenarioDelete (ScenarioNo IN varchar2);
    countstable: = "C_". ScenarioNo;
    CHANGETABLE: = "CG_" | ScenarioNo;
    countsinfotable: = 'CI_ ' | ScenarioNo;
    DataTable1: = "D_0_" | ScenarioNo;
    datatable2: = "D_1_" | ScenarioNo;
    datatable3: = 'D_2_ ' | ScenarioNo;
    hietable1: = 'HI_0_ ' | ScenarioNo;
    hietable2: = 'HI_1_ ' | ScenarioNo;
    hietable3: = 'HI_2_ ' | ScenarioNo;
    hielinktable1: = 'HL_1_ ' | ScenarioNo;
    hielinktable2: = 'HL_2_ ' | ScenarioNo;

    AS

    run immediately 'drop table ' | countstable;
    run immediately 'drop table ' | CHANGETABLE;
    run immediately 'drop table ' | countsinfotable;
    run immediately 'drop table ' | DataTable1;
    run immediately 'drop table ' | datatable2;
    run immediately 'drop table ' | datatable3;
    run immediately 'drop table ' | hietable1;
    run immediately 'drop table ' | hietable2;
    run immediately 'drop table ' | hietable3;
    run immediately 'drop table ' | hielinktable1;
    run immediately 'drop table ' | hielinktable2;

    immediately execute "delete from USERACESS where IDSCENARIO = ' |" ScenarioNo;
    run immediately "remove scenario where IDSCENARIO = ' |" ScenarioNo;
    immediately execute "delete from SCENARIOINFO where IDSCENARIO = ' |" ScenarioNo;

    -or-

    run immediately "delete from USERACESS where IDSCENARIO =" | " ScenarioNo | ''';
    run immediately "remove scenario where IDSCENARIO =" | " ScenarioNo | ''';
    run immediately "delete from SCENARIOINFO where IDSCENARIO =" | " ScenarioNo | ''';

    END;

    Hello

    Welcome to the RTO

    If you allow me, I would like to make a suggestion to simplify your code

    Create OR Replace Procedure ScenarioDelete(ScenarioNo IN Varchar2)
    As
       Type t_DropTable Is Table Of Varchar2(30);
       v_DropTable t_DropTable := t_DropTable( 'C_', 'CG_', 'CI_', 'D_0_', 'D_1_', 'D_2_', 'HI_0_', 'HI_1_', 'HI_2_', 'HL_1_', 'HL_2_' );
    
       Type t_DeleteTable Is Table Of Varchar2(30);
       v_DeleteTable t_DeleteTable := t_DeleteTable( 'USERACESS', 'SCENARIO', 'SCENARIOINFO' );
    Begin
       -- Drop tables
       For i IN v_DropTable.First .. v_DropTable.Last Loop
          Execute Immediate 'DROP TABLE ' || v_DropTable(i) || ScenarioNo;
       End Loop;
    
       -- Delete tables
       For i IN v_DeleteTable.First .. v_DeleteTable.Last Loop
          Execute Immediate 'DELETE FROM ' || v_DeleteTable(i) || ' WHERE SCENARIOID = ' || ScenarioNo;
       End Loop;
    End;
    

    Kind regards

    Christian Balz

  • Power CLI script to add multiple VLANs with port group name in an ESX cluster

    Hi all

    Can someone help me get a script adds several VLANs with port group name in an ESX cluster?

    Kind regards

    Suresh

    OK, so you just need to do an Import-Csv inside the loop and change the variables accordingly.

    What is the provision of this CSV file?

  • SSL protocol error.  Certificate is either not valid, or the common name or authority are not recognized. I have

    Hi, I have problems when I tried to open a PDF document with a font of RM generated in the Laundpad, I use a certificate with the common name self-signed ssl https://127.0.0.1:8443 and the URL in the basic configuration is the same. I tried to fix this for a week but I could, and I do not understand How to solve.

    If anyone can help me, please. It is the image when I try to open a PDF file with RM policies. Thank you

    acrobatReadder.jpg

    So the value CN should be without the ": 8443" Bill creating the cert file?

    Below: Ive installed and trusted certificate in personnel and the certification auth trusted root.

    At the opening of the URL: https://192.168.1.35:8443 / / / AdminUI in Firefox, I get the following error:

    @ IE, I get:

    Thanks for looking at this!

  • Problem in creating several attributes XML with the same name of the attribute

    I am trying without success trying to create several attributes XML with the same name, as shown here in a Microsoft example configuration file:



      
         
         
         
      

    I'm calling the NewDocument GetRootElement functions and then "newelement" (appSetting), "newelement" (add)

    Then I call AddAttribute with add, key & Key0, then with add, value & 0.  This seems to work fine but when I try to add the second pair of key & Key1 and value attributes & 1 for item "Add" replaces ""and I find myself with"" only.

    I do something wrong or CVI is not able to create an XML of this type?

    Thank you

    Here's how you do it. I show not to keep things simple error checking.

    #include

    public static void CreateAddElement (mother of CVIXMLElement, const char * key, const char * value)
    {
    Add the CVIXMLElement;
    CVIXMLNewElement (parent, -1, 'Add', &add);)
    CVIXMLAddAttribute (add, "touch", key);
    CVIXMLAddAttribute (add, "value", value);
    CVIXMLDiscardElement (add);
    }

    void main (void)
    {
    CVIXMLElement root, and appSetting;
    Doc CVIXMLDocument.
     
    CVIXMLNewDocument ("configuration", &doc);)
    CVIXMLGetRootElement(doc, &root);)
    CVIXMLNewElement (root,-1, "appSetting", and appSetting);
    CreateAddElement (appSetting, "Key0", "0");
    CreateAddElement (appSetting, "Key1", "1");
    CreateAddElement (appSetting, "Key2", "2");
    CVIXMLDiscardElement (appSetting);
    CVIXMLDiscardElement (root);
    CVIXMLSaveDocument (doc, 1, "c:\\temp\\temp.xml");
    CVIXMLDiscardDocument (doc);
    }

  • I have Acrobat 10 when I try to combine several files with names like 0022_0_ point report, report 0022_2_Item by report 0022_15_Item it combines out of use.  Any ideas?

    This is how it brings together files I have Acrobat 10 when I try to combine several files with names like 0022_0_ point report 0022_2_Item report through report 0022_15_Item it combines out of use.  Any ideas?

    Hi tomp29181935,

    Please refer to this page:placing the pdf of the numerical order when combining (combining files)

    Let us know if you face any problem.

    Thank you!

    Shivam

  • Several movieclips with export even for LIKE names? Possible?

    LS,

    I'm working on an application for mobile devices.

    The dimensions of some of them, i.e. phones by opposition to the tablets, with a much smaller screen, wanted to use different sets of mc depending on the size of the screen (wise device size, no resolution).

    If a smaller unit would use the largest MC with gfx and so they would always decipherable and the larger machines could use more small gfx so be abale to get much more on the screen at the same time

    -I could just scale the clip of the entire screen all the time, but it will slow it down too I think

    -I could create multiple instances and use different names and then the sort of moment of execution have, but it would also steal time processor. Im not really for this.

    -I could publish several versions, depending on device sound for. But that would require me to maintain several sources on upgrades. I can feel the pain already.

    I was hoping somehow, it is possible to export the movieclips .swf or something and then sort out the run time that an import/use/charge.

    So, I hope that I can refer to them in my code with the same name, but they will be of different sizes that I had chosen to include/load.

    Makes no sense?

    Any info on what is the best way to proceed is appreciated.

    Kind regards

    Mac

    If you want to resize an object in your application and have that resize objects the latter added to your application, add a sprite of parent at the beginning of your application, and then all other display objects must be added to this sprite of parent.

    You can then resize the sprite and resizing will affect all objects added these.

  • Activity FTP - mget several files with dynamic names

    Hi all

    Hope everything goes well.

    I was wondering if there was a way to configure the FTP activity to transfer several files with dynamic names to location of the source on a daily basis.

    For example, my source files are set with date values (source_filename_ < MMDDYYYY > _ < hh > .txt):
    source_filename_12252009_00.txt
    source_filename_12252009_06.txt
    source_filename_12252009_12.txt
    source_filename_12252009_18.txt

    I would like my process flow to do would be to download just the 4 day files based on a script ftp dynamic as follows:

    Open ${Remote.Host}
    ${Remote.User}
    ${Remote.Password}
    CD ${Remote.RootPath}
    invites to the wide
    mget?
    quit smoking

    In the script of DOS commands, you would have with a wildcard as mget command:
    mget source_filename_%DATE:~0,2%%DATE:~2,2%%DATE:~4,4%*.txt

    How should be done on the implementation of this in OWB? It requires a user-defined substitution varilable any?

    FYI, I use version 10 gr 2.


    See you soon.

    Hello

    If you are able to achieve your goal of a script of DOS commands, then you can call this script for a user defined, OWB process flow activity.
    I hope this helps.

    Thank you
    Fati

Maybe you are looking for

  • Laptop keyboard Toshiba no longer lights

    Can the keys on my keyboard used to light up when I used them so I didn't have to have a light type or see the keys, but now they don't light up and I don't know that it's just a thing of setting or a wrong key I hit by mistake - anyone help?

  • Install/uninstall the dell printer problem.

    The dell disc was downloaded successfully, but my computer can't find it. It's on the list add / delete, but I can't uninstall it to restart the download from the beginning. Uninstall response is: your operating system may not support the printer Del

  • Cisco UCS blade failover less computer state

    Hello One of my clients is looking for failover of the blade so that the profile service & OS will be moved on the seeamlessly of the blade without any manual intervention. I tried my best & created the pool of four blades & service profile for the s

  • Impossible to post duplicate keys found

    I am trying to create a Unique column in the table oms_product_group product_group_name constraint.It is parent to child relationship as parent_id will be same for some the product_group_nameExample:product_group_name parent_id-----------------------

  • Creating or moving mailbox Exchange with Workflow

    Hello We use ActiveRoles Version 7. We want to automate the creation of the user with workflows, but I have problems with the creation of mailboxes. We want to minimize the rules we use, so my Test approach is about politics and after that, the setti