Menu Menu-> Make another Drop Down Menus Visible

I am having trouble with a simple if-else statement. When a certain selection is made in a drop-down list, I want two other menus to appear. (When running, they are hidden). The current problem is that when I try and select anything in the drop down menu, it will only allow me to select the an option. (If I try to choose something else, it amounts to the same thing every time.) If I put the 'if' statement to trigger to something else, then this option is that it displays and so forth. I did a lot of these types of scripts in other areas of this PDF file, but I can't understand why he is not doing what I want now.

The 'change' event is what I currently have this value. I also put it the event 'enter' without change.

If (this.rawValue = "ankle / Brachial Index (ABI) - 93922")
{
ABI.presence = "visible".
TBI.presence = "visible".
}
on the other
{
ABI.presence = "hidden".
TBI.presence = "hidden".
}

If there is a better way to do than the method that I am trying to use, please do not hesitate to suggest. I am certainly open to new learning methods.

You need two equal signs in the if statement to make a comparison. A single equal sign will assign a value but equal two to will be a comparison.

Paul

Tags: Adobe LiveCycle

Similar Questions

  • Menu bar 'View' drop-down menus do not work except option 'character encoding '.

    V33.0.1 FF
    For past several updates I asked problems with drop-down menus. 'See' on the Menu bar is an exzmple. Pnly 'Character encoding' option works correctly. Similar problem occurs in many other places including LastPass extension which I use a lot.

    An empty menu appears right without entries. But the problem is not consistent.

    Heals the problem to the menu bar of FF and other questions of FF from FF in safe mode. But I can't find which plugin or extension is causing the problem.

    All ideas

    Hello makatikid, try Disabling graphics hardware acceleration and check again.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    1. Open the Firefox Options window as follows:

      • Click the menu button

        and select Options

    2. In the Options of Firefox window, click the Advanced tab, and then select general.
    3. You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    4. Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    In firefox safe mode, hardware acceleration is disable.

    Thank you.

  • Radio buttons with drop-down menus?

    I have created a form for the HR Department of my company, and I need a few radio buttons with dependent drop-down lists.

    In other words, I would (for example) three radio buttons. None of the drop down lists appear until one of the buttons is selected and displayed the appropriate drop-down list. Is this possible? Or is there a better way to do it? I don't want a drop down menus not selected to be available.

    I have 9 Pro for Windows and Pro X for Mac. I know almost nothing about scripts, but I know it can be done.

    Thanks in advance for any help!

    Theresa

    Add this code to the action of the group, or individual radio button actions?

    For each individual button.

    Make the drop down menus visible or hidden?

    Their visibility will be determined by the State of the radio buttons. By default, you can set to hide, when no radio button is selected.

    Can I put any code in the drop-down list properties, or just in the radio button properties?

    Only in the option boxes.

    And when you say "integrate this code at the level of the doc", does that mean?

    Go to Advanced - Document Processing - Document JavaScripts...

    Create a new script, delete the default text that appears in the window, and paste the code I provided instead.

  • Windows 7 menu drop down menus invisible

    Just upgrade from Vista home premium to version W7 Home premium and the drop down menus are not visible.  I can see an overview of the menus but no content or hotspots click.  This applies to the start menu (close on the menu drop-down) and the Outlook menus.

    Windows Update has nothing to with the upgrade of Windows. Please repost your question in the support forum: http://social.answers.microsoft.com/Forums/en-US/w7install/threads ~ 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

  • AutoFill dropdown in another drop-down - menu allow you to change

    Hello experts!

    I just started usind

    Adobe Pro 10.

    I have 2 drop down menus both with all menu options drop down same (choice).  About 80% of the time the drop-down list

    dropdown2 value will be identical to that of dropdown1, so I want to pre-fill dropdown2 with the value of dropdown1 but also allow the user to choose a different value for dropdown2 if they need to.

    I know that I can popluate dropdown2 the value of dropdown1 with the custom calculation script following;

    Event.Value = this.getField("dropdown1").value

    This fills the field very well, but the user cannot choose one different value other than in dropdown1 if necessary.

    In my efforts to understand this out is to see that a SWITCH command can be useful, but I don't know how to use the command correctly, or if it is the best way to go.

    Any help is GREATLY appreciated!

    I was afraid that you would say that, because it complicates things a bit. You must have a way to indicate that the user makes a selection in the second drop-down list box. You can use a global document variable for this. To set up, add a new javaScript to the document level (Advanced > Document Processing > Document JavaScripts) that says the following:

    Option indicating whether the user has changed the value of combo box 2

    var cb2_changed = false;

    Make sure this code is outside of a function definition. You can call the JavaScript to the document level you want (for example, "init") and remove the skeleton of function, it provides by default.

    Next, add the custom script after typing for the first drop-down list box:

    Custom script from typo to 1 combo box
    If (! event.willCommit) {}

    Get the value of the selected user
    var val = event.changeEx;

    Get a reference to the other combo box
    var F2 = getField ("cb2");

    Only the value of combo box 2
    If it has not been changed by the user
    If (! cb2_changed) {}
    F2. Value = val;
    }
    }

    Replace "cb2" with the actual name of the second drop-down list box.

    Finally, add the following as the custom script typo to the second drop-down list:

    Custom script from typo to the combo box 2
    If (! event.willCommit) {}

    Get the value of the selected user
    var val = event.changeEx;

    Get the current value of this field
    var prev_val = event.target.value;

    Set the indicator shows that the user has selected a new value
    If (val! = prev_val) {}
    cb2_changed = true;
    }
    }

    This code assumes that combo box items have the value of exports and that they are identical to the combo box 1 and 2. In addition, select the 'Value selected to validate immediately' option for the two combo boxes. You can create a general function of at the level of the document based on this code, so it can be reused by any number of pairs of box drop-down list that you want to behave this way. Post again if you get stuck.

  • The drop-down menus, context menus and menu for Auto-filling items are not displayed!

    I FF4 beta, it started from FF4 beta 7. I'm working on Windows 7 ultimate 64-bit.

    The problem is that I can't see drop-down menus unless they have many elements, or context menus (such as highlighting a text then right click on it), auto fill bars no longer view AutoFill info is entered before... the menu itself appears a bit. but it is transparent and I can not display the items, do not know where to click to select the thing I want.

    I don't have this problem before 4.0b7... after I got it, I thought it was one of the plugins, so I disabled them all but still have the problem!

    A picture describing the problem encountered is taken here, now on this page, I've highlighted a text and right click on it: here you can see the menu appears somehow, surrounded by the red border, but I'm not!

    Tools > Options > advanced

    Under navigation try disabling use hardware acceleration when available. It shouldn't affect the context menus like this, but who knows with NVIDIA cards.

  • How to create drop down menus in the main menu?

    How to create drop down menus in the main menu?

    such as:

    1 menu 2 menu 3 menu 4

    menu one

    menu b

    menu menu menu x c y menuz

    menu d

    I have the top menu, but don't know how to get the submenus

    Help you to appreciate in advance

    You must set the 'Pages' menu preferences:

  • Make visible or invisible drop according to the value of another drop-down list. Help!

    Hello

    I need to create the following form... I want to choose at the beginning of the shape between 3 options (imagine: 'Opt1', 'Opt2' and 'Opt3'). And after that, I would like to make visible 10 different lists. I mean, if I choose 'Opt1', 10 drop-down lists related to 'Opt1' will become visible (the drop-down list together, including the text of the title and the clean drop-down list). Otherwise, if I choose 'Opt2', 10 drop-down lists related to 'Opt2' will become visible and the same 'Opt3 '.

    This problem, which seems to be very easy to resolve, it is impossible for me. I have read hundreds of forums and manuals, but I can't find the solution. I tried with several thousands of events, but I can't do the form works as I want... So, please, can someone help me?

    Thank you very much.

    Hello

    Here is an example. The script is located in the event of changing the drop-down list. The easiest way is to group your drop-down menus in subforms, then simply script for the visibility of three subforms, instead of 30 drop-down menus.

    The script focuses on the choice of the user and changes the visibility by using a switch statement. One if exposed to the exit event would work as well.

    switch (xfa.event.newText)
    {
         case 'Option 1':
              option1.presence = "visible";
              option2.presence = "hidden";
              option3.presence = "hidden";
              break; 
    
         case 'Option 2':
              option1.presence = "hidden";
              option2.presence = "visible";
              option3.presence = "hidden";
              break; 
    
         case 'Option 3':
              option1.presence = "hidden";
              option2.presence = "hidden";
              option3.presence = "visible";
              break; 
    
         default:
              option1.presence = "hidden";
              option2.presence = "hidden";
              option3.presence = "hidden";
              break;
    }
    

    Note that all three subforms are hidden in Design view. The drop-down list choice makes the appropriate subform visible.

    In design mode, you can select a subform in the view of the hierarchy and in the object/field tab change its visibility to visible, if you want to work on it in the design.

    Hope that helps,

    Niall

  • My drop-down menus and bookmarks disappeared. How to make a comeback?

    Today, without doing anything to the browser, drop-down menus of Firefox, and my favorites were all gone and I can't understand how to get back them. I still have the icons for the basic tools, like the home page, but all regular pulldowns, which I use frequently, have disappeared. Any ideas?

    I already downloaded the latest version of Firefox to see if it worked and it did not. Anyone?

    For more information about how to restore the menu bar, see what happened to the menus file, editing and?. This article shows how to bring the bar of menus and other toolbars missing such as the bookmarks toolbar. If the bookmarks themselves disappeared, see retrieve lost or missing bookmarks.

  • File menu Flash dropdown, drops down on the site from loading in the browser.

    File menu Flash dropdown, drops down on the site from loading in the browser.

    < removed by mod >

    Include code in your ad that deals with the appearance of the menu drop down.  Something is triggering fall without having to interact with him... It will take just a stop(); command in the script if it's an animation timeline.

  • Drop-down menus are flashing but can't make selection

    Windows 7 Professional
    Intel HD Graphics 3000; Corei7
    All the drop down menus with all websites will Flash open, but then close before making a selection
    Following these steps: options > options > advanced > uncheck "use hardware acceleration when available.
    But still does not
    Update driver graphic and run good hope!

    The use of Firefox in version 9.0.1

  • My drop-down menus became distorted when I changed my computer screen to 125% and has not corrected when I changed to 100%. Help!

    All my drop-down menus are distorted by the change, the menus and menus on my browser websites. The distortion is so bad that I can't read the menu or choose a selection from the menu without moving my cursor around and sometimes not even then. The menu items appear extremely small or huge and images are too distorted.

    I re-installed FF 26.0 just beta to see if that makes a difference, but it didn't. I took screenshots of the problem and then loaded into my picture of glasses at https://plus.google.com/photos/105852729254799413734/albums/5941369764239347457?authkey=CNXwwpfOrZ-gAQ

    Hello stephericsson, this is probably a problem with hardware acceleration - please try to update your video driveror where this does not solve the problem, or there is no new version available at the time, disable hardware acceleration in firefox > options > advanced > General.

  • I just bought a new computer and downloaded Firefox v 10.0.2 and drop-down menus as TOOLS just flashes and then goes. Is there a fix comoing soon?

    When you click the drop-down menus such as file or Tools menu flashes only and won't stay open long enough to make a selection.

    Try turning off hardware acceleration.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    If disable hardware acceleration works then check if there is an update available for your graphics display driver.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

  • Problems with the way in which the drop down menus work.

    By clicking on the icon of the topic / makes the drop-down menu visible for a second or two, and then either they disappear completely, or leave a ghost outline. Moving along positions, sometimes they will be displayed correctly, sometimes they appear and disappear, sometimes they show just a ghost image.

    It is a new installation of Windows 7 64-bit. Not much made surfing yet, but have been on http://www.volvooceanrace.com which is heavy content.

    Affects a right click menu as well.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    Safe mode disables extensions in Firefox 4 and later versions, and disables hardware acceleration.

    Try turning off hardware acceleration.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    If disable hardware acceleration works then check if there is an update available for your graphics display driver.

  • somehow, I've changed the shading of the drop down menus. How can I increase the opacity of the menus.

    I was fiddling with the settings and change the opacity of the drop down menus (like when I get a few letters in the browser address window, and a menu drop-down is displayed with suggestions). The drop down menu is now almost transparent - almost impossible to read. How can I change this back?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    Safe mode disables extensions in Firefox 4 and later versions, and disables hardware acceleration.

    Try turning off hardware acceleration.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    If disable hardware acceleration works then check if there is an update available for your graphics display driver.

Maybe you are looking for

  • HP-G71-340US: win 10 update

    (1) I did the upgrade to WIN 10 successfully in the hope of accelerating my laptop. Unfortunately, after 8 years produce a lot of junk on my HD I will do a clean install on the first day of this laptop using the HP restore disks that I created.  Then

  • upgrade to android 2.2 2.1or

    I'm the motorola i1 user. I really want a Skype app but it does not work. Because its Android 1.5 When the update comes out? I really want the best apps downloads. It's never going to get out?

  • Windows vista ultimate 32 bit OEM

    I am wanting to install vista ultimate 32 bit OEM on my pc that I screwed up the download of Windows 7 beta. I come to the world of pc to buy and they told me that I have to take my pc to them for them to install it for a fee. They told me everything

  • HP 1140tu disc HARD SSD update

    Hey guys... I just want to know if I can use SSD and remove my traditional HARD drive. I use a computer hp laptop 1140tu... and I also want to know that can I use all types of SSDS or there are a few specific for me... Thanku

  • Thinshell - choose between WindowsShell or Thinshell

    Is there an a way easy to allow users to choose between WindowsShell or Thinshell? We are in the process of deployment of Terminal Server in a call center. Currently, they have about 400 jobs and we convert the jobs in thin clients using Thinshell. A