Display / hide subforms with menu drop-down does not not for no discernible reason

As far as I can tell, I seem to do everything right:

Form1. Form.MainInformation.OR - StationeryType:exit - (JavaScript, client)

If

(this.rawValue == 'Visiting card') { }

Form1. Form.BusinessCardInformation.presence

= 'visible';

}

on the other

If (this.rawValue == 'Header') { }

Form1. Form.BusinessCardInformation.presence

= 'invisible';

}

Is there something inherently wrong with this code? It does not work - I want the "calling card" subform to disappear when the "calling card" is not selected and reappear if it is.

Hello

Also, check the following:

  • Check form is saved in XML form dynamics in the Save as dialog box.
  • Make sure the menu drop down doesn't have a limit value / specified in the object > Binding tab.
  • I would drop the second "ElseIf" and just run with a 'other '. It seems only two choices, then the principal if the declaration will capture a condition and the other with the second exit.

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Spry menu drop-down does not work in internet explore

    Hi guys, I have a problem with my menu drop-down. Please help me

    1. I already use spry menu bar 2.0. It works in firefox but not in internet explore.  It is said: "internet explore restricts this form of running scripts or Xcontrol active Web page.
    2. I want to make the spry menu to be "liquid". I mean when I restore down the window of firefox or internet explorer, it will automatically change size. I want to like it so that size it can look also into ipad or pc.

    Thank you for your help

    For some, I don't understand why that is to say the berms when you try to run a script from a local file. As a general rule, if you need to download the file, then download in IE, it works without problem.

    This page should help...

    imations http://www.troublefixers.com/Disable-ActiveX-Warning-in-Internet-Explorer-while-Playing-an.

  • I can't create a new folder. When I right click on the desktop of the menu drop-down does not give me the ability to create a new folder

    I ran antivirus and Microsoft fixit, analyses which none has solved the problem

    Hello

    There seems to be a problem with the creation of records.

    Perform the steps from the link below and see if it helps.

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/97de8a2a-12f2-4381-A409-a78f4ae551cf

    Important: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/( )

    Hope this information helps.

  • Re: problem with menu drop-down lists.

    Hello everyone,

    I am facing a problem with the drop-down lists in my application, I have 4 drop-down lists one under the other. The main problem follows here, the second list is being covered by the first list when the first list fell down. How to get rid of it, any suggestions please,

    Thank you and happy new year.

    You must listen to the update and then change the order of objects.  Seems odd that RIM does not perform this themselves because it is a problem long been known.  A few other controls have similar problems.

    Community Library:

    import flash.events.Event;
        import flash.events.FocusEvent;
    
        import qnx.ui.listClasses.DropDown;
    
        public class DropDown extends qnx.ui.listClasses.DropDown
        {
            public var dataField : String = 'data';
            public var defaultSelection : * = '';
    
            /////////////////////////////////////////////////////////////////////////
            public function DropDown()
            {
                super();
                this.addEventListener(FocusEvent.FOCUS_IN, HasFocus );
            }
    
            ///////////////////////////////////////////////////////////////////////////
            private function HasFocus( event : Event ) : void
            {
                this.parent.setChildIndex( this, this.parent.numChildren-1 );
            }
    
            ////////////////////////////////////////////////////////////////////
            public function set selection( value : * ) : void
            {
                var entry   : Object;
                var counter : int = 0;
                for each( entry in this.dataProvider.data )
                {
                    if( entry[ this.dataField ] == value )
                    {
                        this.selectedIndex = counter;
                        break;
                    }
                    counter++;
                }
            }
    
            //////////////////////////////////////////////////////////////////////
            public function get selection() : *
            {
                return this.selectedItem ? this.selectedItem[ this.dataField ] : this.defaultSelection;
            }
        }
    
  • Problem with menu drop-down

    Hello

    I have just re skinned a friends site and I have a problem with the drop down menu on this page here:

    Please click here

    As you can see the 'description' field is set too far toward the bottom of the page and should be just below the title area "description."

    I would appreciate if someone could give me some pointers on what is happening and what I could do to solve this problem.

    Thanks in advance, Martin.

    Hi again,

    A slight change in the width of the text box did the trick, thank you Murray

    Best regards, Martin.

  • I just installed Acrobat Pro XI.  When I went to start the program asked me for a serial number, which I have, but the menu drop-down did not include Pro XI and gave me an error message

    I can't not far as this screen because the serial number does not match any product on the menu drop down.

    Apparently, it sounds as if you have purchased an upgrade, which if so would have been a mistake. Of course, if this is not the case, check received. If still not sure please tell us price paid.

  • Chosen PS Actionoption 'Color' is not displayed in the window menu drop-down

    Hello @ all!

    I would like to divide my PS actions with different colors. But if I choose one in the option field is not dispales in the window drop-down action menu.

    What have I done worng?

    Concerning

    Helmut

    Hi Helmut,

    You must change the display Palette of action mode button mode to see the colors assigned to your actions.

    Kind regards

    Claes

  • Show/hide using the menu drop-down

    I recently acquired the 8 version of the designer and have improved Designer 7. I couldn't get a copy of the 7.1 upgrade, so I just made the switch. However, the attached document, the script that I had originally in my drop down menu to show or hide three subforms no longer works. I check the forums and I think the scenario is correct, but my hierarchy and flow can be screwed up. I need my fall to the bottom of the list in the subform, even were I show/hide additional subforms 3? Show they be positional or content stream?

    Joe

    I've been reviewing your code nothing wrong but it add the following line of code at the end of your script will do await you.

    XFA. Layout.relayout ();

    Good luck

  • Horizontal navigation with Menu drop-down

    Hello!

    I'm trying to put together a site with a horizontal navigation with elements in the drop-down list. I built my plan with the main pages and child pages and added my horizontal navigation on the master page, but when I go to preview, I can't see any of my pages from the drop-down list (child). Is it possible to fix this? (I have attached a screenshot, I hope this helps clarify...)Adobe-Muse-Horizontal-Menu.jpg

    I knew that this problem will return that's why I mentioned the note that "child pages at the same level in the Plan view are listed vertically in a Horizontal Menu."

    If you have a look at the Plan view of your Site, you will have child pages under the other which translates a horizontal navigation as you found it.

    You must have all the pages of the child at the same level, while they are placed vertically (as you like) in the Menu.

    You can drag and drop the child pages in outline view to move them to the same level.

    I hope this helps.

    Kind regards

    Sachin

  • When saving files, menu drop-down is not displayed, just a little.

    When you attempt to save a bookmark using the "Bookmark this page", then by selecting Menu bookmark to display a list of recorded files, the list of the saved files that appears is a short partial list. This list does not scroll to view unlisted remaining folders. All of these files are searchable/accessible when "show all bookmarks".

    fredmcd,
    The method that seems to work OK is to use the method you describe. It requires another step to click or two, but I can see and reach all my saved files when you save a bookmark. Thanks for the suggestion of workaround.

    I would suggest that there is a bug in there somwhere that needs to be squashed.  It prevents a complete list of saved folders and bookmark s from being displayed under Bookmarks Menu when Bookmark this Page is selected.
    

    Thanks again, have a nice day.
    rlhall3071

  • Help if of another stmt with menu drop-down

    I am filling a text field once a selection has been made in a drop-down list field.  Can anyone provide an example script or an area that I could go to find help on this point?

    Thank you!

    Please find the attached file.

    You can find a lot of online help/tutorials in the adobe site.

    Please use the help of Adobe LiveCycle Designer first.

    Then Google for 'Acrobat JavaScript Scripting Reference' and 'Adobe® XML form object model reference.

    RAMBEAU.

  • Some features of menu drop-down are not at all.

    When I go to http://www.usanetwork.com/, the home page has a group of items that are displayed in the upper part of the screen: shows, videos, featured, annex. Each has an arrow to its right.
    IE, if I click on one of these arrows down the lower part of the screen overlap with the point that I wanted to see. for example, a list of the USA shows.
    This does not happen in Firefox; None of the dropdown arrows to show me anything. I get a scroll left-right downstairs bar, but if I try to move the cursor on it, it disappears. If I try to use the arrow keys, the screen jitters just a little left and right.
    This is just one example; There are many other websites that have the same behavior.

    I followed the "Basic troubleshooting" steps upward through and tier 6 inclusive (reset your Firefox settings) does not. The arrows of course still do not work. Because this problem occurs on more than one of my computers, I don't think that it is installing Firefox and am not the will of the reinstall.

    I've found a workaround, however. I installed the add-on 'IE View 1.4.5.3' and marked the problem pages still open in Internet Explorer. It is not the most elegant solution, but it works for me.

    Thanks to cor - el for the suggestion led me to try basic troubleshooting.

  • Smart collection drop-down does not keywords

    I must have got this right once, because I have a smart collection whose only condition is a key word, which is at the top of the drop down to this collection.  Similarly, there is a collection of default Smart that LR must have created, called "without the keywords" and that one of the conditions is that keywords are empty.  However, whenever I try to create a new collection of smart, the criteria drop-down begins with side, followed by pick flag, color of the label, the label text, down to the final criteria, 'any searchable text' I understand unlike keywords, because there is a criterion called keywords.  It is true of attempts to change existing smart collections.  Where's my criterion by keywords?

    If you click on the drop down sides first or that you have the display you will see that the criteria were grouped into LR5. You will find keywords by selecting:

    Other metadata > keywords

  • How to do a side menu with menu drop-down submenus

    I have a side-bar menus as shown below. When you first get the menu only home, subject button appear, you click on a topic you get different tutorials and you click on each tutorials you are given parts. If you are on a a components page, you will always have the part shown in the menu, but if you click on it in the computer menu of collapsed again. I can't find anything about it.

    Screenshot 2015-03-02 10.18.34.png

    Next hi... I had some like that to a customer, and I did create widgets accordions, one inside the other.

    Add an accordion and inside the State of buttons you need with links you want.

    inside the first widget, add another accordion and do the same thing.

    remove two of the three "areas" of each accordion, and give you the menu number/name/or you want.

    with you imagination, you will have a large menu.

    I hope to help you,

  • Create application option not available in the menu drop-down

    I can't access the option 'Create approx...' in the drop down menu to the Folio Builder. All the options in the menu drop-down are there except for the option Create App. Does anyone know why this is the case?

    Thanks in advance for the help.

    Mac only

Maybe you are looking for

  • Problems with webcam?

    Hi, I am new to Skype and in fact my first video call to a friend in the US last night.We use two laptops and the audio was very good and I could see a picture of me in the lower right corner but no picture my friend. My friend could be seen in the l

  • Satellite U400-15B hangs on the Internet and make multimedia keys touch

    Hi all Had two problems with my U400-15B which I hope to solve. (1) the first problem is that I noticed that my internet sometimes seems to weigh on Internet Explorer, when using the Web site who have a couple of images e.t.c.It freezes but the rest

  • HP Laserjet 600 M602 printing reverse

    the pages are coming out opposite. for example, when printing the letters are white and the rest of the page is black. What can I try to fix this

  • TextField, submitted using c ++ does not

    Hi all I am trying to connect to the TextInputProperties::submitted(bb::cascades::AbstractTextControl*) signal, but in fact it does not. This is my code: TextField *inputField = uiPage->findChild("damageInput"); QObject::connect(inputField->input(),

  • Questions about upgrading to Windows 8/8.1 of Windows 7

    Original title: if I'm updated to Win7 x 64 x 64 Win8 and possibly Win8.1 Pro - install Question (and a few others) - I forgot It's been so long that I've updated that I can't remember (and feel stupid because it)-is it possible to update the OS with