How to hide all instances of subform (via a click event of the button) except the last instance.

When my form is rendered, it can contain multiple 'case' of a subform full page.  So basically, I have a subform labeled "Info" that spans a full page. Depending on how the form is used when a new instance is added to the document it essentially new creates an entire page.

What I'm trying to hide all instances of subform ("Info"), except the LAST instance that is always on the last page.

Theoretically, by hiding all previous subform instances (for example, 1-4) and keep only the last instance, it will reduce the number of pages 5-to-1.

Hope it makes sense.

SO I guess I need a way to get the number of instances of complete subform, then hide all instances, but the last instance (via a button click).

Thanks in advance for your help.

I belive I've thought about it.

Tags: Adobe LiveCycle

Similar Questions

  • How to hide all instances of a symbol before the display?

    For reasons that I won't detail here, I don't want to use a calendar for a particular project.  I manage a style and visibility in the code.

    Until the composition is visible, I need to adjust the opacity of all instances on the stage of a symbol for zero.  I guess it can be done in a single line of code.

    Is the definitive documentation for EA?: http://www.Adobe.com/devnet-docs/edgeanimate/API/current/index.html

    THX in advance,

    Doug

    Hi, bdggr-

    Yes, the API.  You can use call getSymbols() of the composition.  Here is an excerpt of code that might be able to help.

    var symArray = sym.getComposition () .getSymbols ("symbolDefinitionName");

    for (var i = 0; i)< symarray.length;="" i++)="">

    symArray [i] .getSymbolElement () .hide ();

    }

    -Elaine

  • How to save all tabs of a session, to open again for the last time

    Can someone help me please the question above? I look forward to the responses, thank you. Chris

    1. you can "bookmark all tabs" through the context menu on an open tab.
    2. you can use the Session Manager extension to record several sessions.

  • Hide all instances of the subform with a single line of javascript

    Is it possible to hide all instances of a subform with a single line of javascript?  I'm looking for something like this:

    repeatingSubform [*] .its presence = "hidden";

    but which caused the designer...

    Or do I have to loop through all instances of the subform and disable individually each of them?

    Thank you

    Elaine

    You must disable them individually

    Paul

  • How can I get a standard text block can be found on the last page of my documents?

    How can I get a standard text block can be found on the last page of my documents without having to type in all the time? I have a mission statement with a line to the signature of the customer who I want on the last page of my bills and now I have to type every time or cut and paste a previous invoice. I already have a Master Page that contains customer information and my company at the top of each page, and I use the data merge to fill each page with the ordered items and photos etc. I would just have this mandate type block automatically appear on the last page after the last element in the data merge.

    Thank you all in advance for your help.

    Create a new master based on the one you have now and add the block, then change the master applied to the last page.

  • How to hide all the empty fields on a page?

    Hello

    I want to hide all the empty fields but to exclude tables as it messes up the table. He hides this empty cell with borders and the table does not look right.

    My script below works currently it hides all the empty fields on this page.

    Is it possible to exclude on the tables?

    Thanks to all in advance.

    function hideFields (myParentObject) { }

    var allChildElements;

    var intNumElements;

    var currentElement;

    var j;

    var temp;

    //Get the parent all child element nodes

    allChildElements = myParentObject.nodes;

    //Total number of items in the object

    intNumElements = allChildElements.length;

    //Loop through all child elements

    for(j=0; j< intNumElements; j++){

    currentElement = allChildElements.item (j);

    //If the element is another subform which we will call the new function recusively

    If(allChildElements.item (j) .className = "subform") { }

    //if (currentElement.layout = "table") {}

    //else{

    //}

    other If(currentElement.className = 'subformSet') { }

    //If the objects are fields, then we'll want to hide their

    other If(currentElement.className = 'field') { }

    //Check to see if the field is a button - don't count buttons

    temp = currentElement.name;

    if (temp.substring(0,6) !== "Button"){

    If (currentElement.rawValue == "" | "") ( currentElement.rawValue == null) { }

    currentElement.presence = 'hidden';

    //Check Jugendherberge exclusion - boxes option

    other If(currentElement.className = 'exclGroup') { }

    / / hide the exclusion group and not the individual radio buttons

    If (currentElement.rawValue = "") { }

    currentElement.presence = 'hidden';

    { } / / end of loop for

    { } / / end function

    Hello

    A table has a class name of the subform, but will have a property of page layout with the value of "table."  If you find one of these, then you sweep that subform.

    But you code seems to have commented, that didn't work for you?

    Concerning

    Bruce

  • How to hide all paths without widening the palette?

    It is something that I have wondered about for years:

    You know how you can deselect one way 'sex' (for lack of better word) in the palette drawn by clicking in the empty space of the paths palette? What happens if your pallet traced has saved paths as long as there is no space empty to click in? I know that I can just to expand the palette, but I don't want to have to do that, because all my palettes are solidly organized in a giant wall o ' pallets on a second monitor. Is there a way to hide all paths without having to expand the palette to bring up the empty space?

    If it is not currently using a tool running on trails, activate one, for example, press a key. Now, press ESC to untarget all paths.

  • How to change all instances of an audio note in voice

    On some YouTube video I saw the guys set a voice note that PitchCorrect showed was a half-step lower. "And if you want to do this to all instances of that note, just that [,]" and I forgot what it was.

    It would be very useful. If you're flat on a certain note, for example, you can correct all instances of lowered both note.

    see you soon

    In the file editor... Select the location on the piano keyboard, and all notes with this field will be selected...

  • How to hide all the future updates to the Windows Mail Junk e-mail filter?

    Is it possible to automatically hide or ignore all future updates for Windows Mail Junk e-mail filter?

    I don't have, and never plan to use Windows Mail, and I'm not sure that I could never be convinced that I should, someday.

    Therefore, all the updates of Windows for this are very very little, but the update system keeps their important marking - so I have to hide them every time.

    Is there a technique to automatically remove this update until it is important to my system?

    I use Windows Vista Home Basic SP2.

    No, you can not hide all the future updates Windows Mail Junk Email Filter. But here is a workaround:

    1 configure automatic updates for the 'updates but let me choose... '. "setting.

    2. when an update of the Windows Mail Junk e-mail filter is available for your approval, thereafter, hide it.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Hide/show subforms with a click of a radio button

    I'm totally in this new and have very little idea what I'm doing.  I received my form to show/hide questions based on the click of a radio button.  My next question how do I eliminate the white space between issues where the subform of questions is "hiding" until the user clicks on the radio button?

    Thanks in advance to anyone who can help me with this!

    You can be the definition of property presence 'invisible '. Which is why this white space appears on the screen.

    Try to set the value of 'hidden', it will remove the space.

    If you use subform1.presence = 'invisible', the subform is not visible for the user but occupy space on the form.

    If you use subform1.presence = 'hidden', the subform is not visible for the user and also takes up no space on the form.

    In addition, the Page subform content type should be changed to be "cast" and the form should be saved as XML dynamic.

    You must do the following to make the dynamic shape.

    (1) file menu Goto-> properties of the form and select the default values tab change the default rendering in dynamic XML form Format

    (2) select the Preview Tab. Set the type of overview as a form 'Interactive form' and preview Adobe XML dynamic XML form

    (3) Finally, while saving the PDF select Save As Type 'Adobe Dynamic XML Form.

    Thank you

    Srini

  • How can I get Safari to open in my homepage instead of the last page, I looked?

    Hi everyone, how can I get Safari to open in my home page or a page chosen instead of the last page I was looking at all the time? I keep trying to change this in Safari preferences, but I'm obviously something wrong? It doesn't matter what changes I make in the Safari preferences no matter what I do everytime I open Safari it opens just the last page I was looking at all the time?

    See you soon.

    Normally, you just go to Safari - attendance - general and set up your homepage.

    However, if she does not work for you, try the following steps.

    Go to the Safari menu (at the top right of your screen next to the Apple icon), choose 'Quit Safari'

    Press the "Shift" key and while holding this button on your unique keyboard, click the icon of Safari on your Dock.

    Open Safari - Preferences - Privacy - data to remove any Web site.

    Open the menu to go with the Option (Alt) key - library - key locate Safari folder and place it on your desktop. Restart your Mac, open Safari and delete the file from your desktop.

  • How to implement responses of pass/fail for two click boxes on the screen a simulation?

    I'm creating an assessment of simulation using Captivate 7. On a single screen (as shown below), I need to put in place two boxes click (highlighted yellow) so that the user can click on one of them to continue to the next slide. But I had a question on how to set up the success and Fail responses for each, click area. If the answer to failure for the two boxes to click is enabled, the user will receive one or two responses Fail no matter where they click. Disabling the failure responses? If the user clicks on the other areas that the two click boxes, no action or reaction occurs and the user will think the simulation is frozen or crashed. All the solutions for this problem? Thank you!

    Capture.PNG

    Awesome! This works. Thanks for your help, as always, Lilybiri!

  • How to bind a click event to a button that is embedded in another symbol

    All-

    I'm sure it's easy, but you know...

    So I a menu on the main stage which has 18 buttons.  These buttons are nested inside a symbol called MC_MENU_CONTAINER.  I'm animating this symbol to show/hide the buttons on the main stage, which works very well.  What is Id like to bind an event click for these nested buttons of the main stage.  I was able to access the buttons nested with this code sym.getComposition () .getStage ().getSymbol("MC_MENU_CONTAINER").$("BTN_INTRO").hide ();  This hides the first button, but when I try to attatch a click for 'BTN_INTRO' event, it does not work.  I have the code stored on the stage using compositionReady.

    Any ideas?

    THX

    Hello

    The Stage.compositionReady event, you should be able to attach a click on the symbol nested like this event:

    sym.getSymbol("MC_MENU_CONTAINER").$("BTN_INTRO").bind ("click", function() {alert ("button clicked") ;});

  • How do you attribute the click event of the object created dynamically?

    This is probably an easy question to answer:

    I'm iteration in an XML list, I created via a HTTP Service to load the XML file.  For each object, I want to create a LinkButton which will link to a URL.

    However, since I created the LinkButton object in ActionScript instead of MXML, I can't understand how to assign a click event, for example navigateToURL()

    How to assign as the LinkButton should do the mouse click?

    I know that someone will be able to answer this, then... Thanks in advance!

    myLinkButton.addEventListener(MouseEvent.CLICK,myClickFunction);
    

    and your event listener function

    private function myClickFunction(e:MouseEvent):void{
                        //do something
                   }
    
  • How to uninstall all versions of Firefox via the script in silent mode?

    I was instructed to remove Firefox to 200 computers in our society for safety reasons.
    I scanned all the computers for versions of firefox installed on them and noticed there are different versions of firefox on our computers.

    I need to be able to uninstall them via our software deployment tool.
    Please let me know if there's a script that can do the job.
    Thank you

    Hello

    Maybe this help you:

Maybe you are looking for