How can I create a menu drop-down list dynamics that controls two separate drop-down lists?

Hello

I could use help decipher how to control 2 separate drop-down lists ('b' and 'c') through the value selected in the main drop-down menu (that is, 'a').

My script worked perfectly to control another menu drop down, however I can't seem to properly control the third zone.

In my example below, what I'm trying to do is control 'Method - external' and 'Department - external', through my gout primary to the bottom of the list. The external 'method -' drop-down list works fine, it is the third 'Department - external' that I fight with.

For example, if 'Theft' is chosen in the first drop-down menu, I want 'Method - external' to display the series points and "Department - external" to display a different set of items. If 'Cyber Crime' is selected in the main menu down, then the external 'method' - set items will change and the external "Department -" will indicate N/A.

With the following script - no matter what happens if I choose 'Flight' or 'Cyber Crime' in the first menu drop down, 'Cyber Crime' n/d game elements are displayed in the external "Department -" drop-down.

I apologize if this is hard to follow - it is certainly difficult to explain. I hope that my question came through.

Here's my current script

Switch (event.value) {}

case 'flight ':

this.getField("Method-External").setItems (["","grab and run", "shopping cart/basket Walk Out", "Possession", "Consumption", "Other"]);

break;

this.getField("Department-External").setItems (["","Agro", "Automobile", "Bakery", "Building materials", "Chemical", "Cleaning supplies", "Candy", "Dairy products", "Deli/Bistro", "ELECTRIC", "Electronics", "Farm equipment", "Fashion", "Feed", "Fertilizer"]);

break;

cases of "fraud":

this.getField("Method-External").setItems (["", "credit card", "debit card", "Check", "Coupon", "Counterfeit", "Merchandise Return", "Price Switching", "Self Check-out", "Provider", "Other"]);

this.getField("Department-External").setItems (["", "s/o"]);

break;

case 'flight ':

this.getField("Method-External").setItems (["", 'threat of concealed weapon', 'Threat from weapon', "Verbal threats", "Acts of aggression", "Other"]);

break;

case 'exit and enter:

this.getField("Method-External").setItems (["","Smash and Grab - vehicles", "Smash and Grab - pedestrian", "forced entry", "Unauthorized Keyed", "Other"]);

break;

case 'mischief ':

this.getField("Method-External").setItems (["","graffiti", "Damage", "product a manipulation", "Other"]);

break;

case "Cyber Crime":

this.getField("Method-External").setItems (["","Malware (Virus)", "Phishing", "Others" "]);

break;

this.getField("Department-External").setItems (["", "s/o"]);

break;

}

Thank you

You have a few break statements that should not be there. Try this:

Switch (event.value) {}

case 'flight ':

this.getField("Method-External").setItems (["","grab and run", "shopping cart/basket Walk Out", "Possession", "Consumption", "Other"]);

this.getField("Department-External").setItems (["","Agro", "Automobile", "Bakery", "Building materials", "Chemical", "Cleaning supplies", "Candy", "Dairy products", "Deli/Bistro", "ELECTRIC", "Electronics", "Farm equipment", "Fashion", "Feed", "Fertilizer"]);

break;

cases of "fraud":

this.getField("Method-External").setItems (["", "credit card", "debit card", "Check", "Coupon", "Counterfeit", "Merchandise Return", "Price Switching", "Self Check-out", "Provider", "Other"]);

this.getField("Department-External").setItems (["", "s/o"]);

break;

case 'flight ':

this.getField("Method-External").setItems (["", 'threat of concealed weapon', 'Threat from weapon', "Verbal threats", "Acts of aggression", "Other"]);

break;

case 'exit and enter:

this.getField("Method-External").setItems (["","Smash and Grab - vehicles", "Smash and Grab - pedestrian", "forced entry", "Unauthorized Keyed", "Other"]);

break;

case 'mischief ':

this.getField("Method-External").setItems (["","graffiti", "Damage", "product a manipulation", "Other"]);

break;

case "Cyber Crime":

this.getField("Method-External").setItems (["","Malware (Virus)", "Phishing", "Others" "]);

this.getField("Department-External").setItems (["", "s/o"]);

break;

}

Tags: Acrobat

Similar Questions

  • How can I create a menu drop-down hover a link in Dreamweaver CS5?

    Hello everyone, I am working on a portfolio site and I just wanted to know if there is a way I can create a drop-down menu from a text that cascades link once the slider has made contact with the link. I wish I had in my navigation bar, where is the portfolio link. In fact, my navigation bar looks like this: Home | Curriculum vitae | The portfolio | Contact. I want to only three points on the drop-down list under the portfolio link: traditional Art, photography, graphic design. I'd appreciate any help I can get! Thank you!

    Take a look at what made Nancy http://alt-web.com/DEMOS/CSS-Horiz-menu-2.shtml

  • How can I create a pause in my inspection so that I can change a setting on my DEGREE, and then resume with the rest of the inspection?

    New to Labview and NI Vision in general here.

    How can I create a pause in my inspection so that I can change a setting on my DEGREE, and then resume testing?

    I want my inspection to execute algorithms on the acquisitions of two different images, where the break to change the settings of my DUT.  I thought that the breakpoint was working well when I'm in the configuration interface and I run the State, but it seems that when I run the inspection he jumps on the breakpoint and continues on the next stage of the inspection immediately.

    Are you running Vision Builder AI on Windows or on a remote target? If you have a remote target, which?

    On Windows, you can use a step of user input in the last tab of the Vision Builder AI tool palette.

    It will display a dialog box that is paused the inspection until you click on a button.

  • How can I disable the menu drop-down history?

    This does not refer to the fall of history down through the display of a bookmark box. This annoying drop-down appears each time you start to type in a web site, you want to go. He descends from a list of sites you have visited or, possibly, a list of bookmarks. Some sites are marked with a gold star. How can I stop it from falling down.

    Thank you

    You can set the address bar "nothing":

    • Firefox/tools > Options > privacy > address bar: when you use the location bar, suggest: nothing
  • How can I change the menu drop-down remembers passwords, email Add. or user name when I walked in the wrong?

    Or it could be a Windows 7 problem. My typing is not good, and sometimes the email or password are wrong typed.
    The drop-down menu you offers versions that I typed, including the right pair, if I put it.
    How can I get rid of the most useless, bad and embarrassing?
    Thank you for your time and thought.

    • Click on the (empty) input field on the web page to open the drop-down list
    • Select an entry in the drop-down list
    • Press the DELETE key (on a Mac: shift + delete) to remove it.
  • How can I create a menu for a site to scroll a page for mobile devices?

    Hi, Im trying to create a menu for my version of phone of my a roll site page. I created a nice menu with the help of the Accordion widget, which when opened gives you links to different sections of the site that are defined by anchor points. The problem is when you select an element of the Accordion widget menu, it will automatically close after a click on the menu item. The site scrolls behind the menu, but you'll need to physcially close the menu by clicking on it again. It is of course a very bad user experience. I tried various menus third parties none of which work for sites of a page. Given the many Web sites is a scrolling page sites seems to be a major problem for users of Muse who have no menu option for this kind of design! Anyone know of any code that could be used to automatically close the Accordion widget when you select an item in the menu? Please help Ive spent a lot of time designing this site for the office but now having to PAP I can't produce the version phone, I really don't want to have to resort again to Wordpress.

    Thanks in advance!

    Hello! Active States help the user to see that they are on a separate page, and they can click the close button.

    Or you can see what I've done on the mobile page for one of my models that is very UI/UX friendly partially because of this reason (http://flowz.ljdezignz.com/phone/).

  • How can I create a Setup program for my project that can run on 32-bit Windows, if I have Windows Vista 64 bit?

    Hello

    I did a project in LabVIEW that works perfectly and made an installer for it. I tried the installer on my own computer and everything worked fine. The purpose of my installer has been putting it on several computers. So I tried to do it on another computer that has Vista 32 bit and he told me that the installer cannot run on 64-bit computers. I tried to choose to install the 32-bit runtime and it has not changed anything, there was still a message to tell me that this Setup program can be run on 64-bit computers. How can I make an installer that runs on 32-bit computers?

    Thank you.

    I have betieve you need to install the x 86 32-bit version on your PC too, and build an installer that.

  • How can I activate the menu drop down Firefox?

    I just got an imac 10.8 firefox 25 and I am trying to configure firefox even in my macbook pro 10.6. Firefox 24 on my MBP, I have if I hold on a link, a drop down menu will appear that says open the link in a new window, open the link in a new tab, bookmark, etc. I try to get firefox to do the same thing on my imac, but it will not, when I take a downlink but stresses he or she, no drop move down the menu. I tried to find the config option but I can't seem to find it. Does anyone know how to activate it?

    If I understand correctly, you want to enable access "click and hold" on the shortcut menu. To do:

    1. In the address bar, type Subject: config and press enter. The subject: config "this might void your warranty!" warning page may appear.
    2. Click on I'll be careful, I promise!, to continue on the subject: config page.
    3. Search for preference ui.click_hold_context_menus
    4. Double-click this preference to toggle its value to true

    Ref: http://kb.mozillazine.org/Ui.click_hold_context_menus

  • How can I disable the menu drop-down list on the back button?

    I use a laptop and my hands are not too clever. Whenever I click on the 'back' button, I get the drop-down list, which means that I must then back up my hand to the pad (gently!) to move the pointer, and then try again. It may take me several attempts to turn back a site now!

    I searched for hours how activate the drop-down list, nothing is done and even looked through all the settings in: config to try to find a way around it. Seriously impact my ability to use my laptop on the web now, so if someone can you please come up with a way to return to the old back button, with no menu when my finger slow old cannot move pretty fast down the key, I would be very grateful.

    There are two other ways to return to a page.

    • Right click on a box empty page you visit and use the dos command
    • From the keyboard, press {Alt + left arrow}
  • How can you change a menu drop-down menu in a case statement?

    Hello

    I'm trying a table find vi. This VI will be an existing xml file and once the user has selected access to its equipment, input, output and frequency it put all of these options in a string and search the XML for this exact table name and post it on one screen of output. The problem I have is my entry and exit selection must be a little different depending on the chosen equipment. I thought I could use an instruction box to change the options of selectable input and output, but I ran into snags a lot with it. For whenever I have to put a new drop of entry and exit in the drop-down menu in the case statement, he wants to put a new one in the front (I only want to enter and exit not only three I have two inputs and outputs hidden right now). I think I'm using the wrong case statement... Can someone help change my input and output, selectable options depending on the chosen equipment. Attached is my xml file, Array Find.vi (the original) and table Find_Test.vi (that's what I'm trying to change).

    Thank you

    dlovell

    Hi dlovell,

    A few changes in the attached VI:

    Requirements/possible Solutions

    • When the value of the equipment, do something
      • Add the cases to the value of equipment change event
    • Do something = decide what channels to write, to change the input and output strings
      • Read material value changed
      • Decision (case structure)
      • Channel (same method as the previous mod)

    Hope this helps

  • How can I remove the menu drop-down asking me if I want to allow a plugin to run?

    From Firefox 26.0, there is now a drop-down list that appears whenever a Web site with a plugin is loaded, if the plugin is set to "Ask to activate" in the addons > Plugins menu. This drop may be rejected, but always reappears when such a page is loaded.

    As useful as it is, I'm already happy with the previous solution to have a plugin icon that appears in the address bar (which is always available, dismiss the drop-down list), so I don't really need an additional dialog that appear while I am browsing. Is there a way to delete from the drop-down list?

    Hello Ingefaerol, yes it's possible - please see: https://addons.mozilla.org/firefox/addon/hide-plugin-notifications/

  • How can I create greeting cards using digital photos now that Microsoft Picture It is not compatible with Windows 7 Home Premium

    My old computer has Microsoft Picture It and I was able to create greeting cards using digital photos to my computer.   My new computer has Windows 7 Home Premium edition and I can't access on my computer greeting cards or create new ones.  I downloaded Windows Live, but who does not have an option to create greeting cards.    What suggestions do you have?

    Hello

    There are many programs available online that may have similar functions as the image what it program.
    I suggest that you use your favorite search engine and looking online for a similar program.


    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • How can I create an output to view a document that has a FAKE parent and no child. The parent does not appear on HTML5 output. I want the parent to display a word document.

    RoboHelp 2015: How to display a document that has a parent pon OCD and no children. LLA parent does not appear on HTML5 output. I want to display a word document that contains hyperlinks.

    I'm not clear on what opening a Word with TOC document is in. Most browsers will not allow a document Word are open and will require the user to download, is that what you want?

    Perhaps could you make the problem more clear and perhaps add a screenshot to help.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • How can I create a link to a web page that opens in a NEW window

    I've looked everywhere. I can't figure out how to make my links open in a new page URL. Can anyone help. I use a mac with Dreamweaver MX 2004.

    Chas;

    First of all, make sure that the 'properties' groupbox is visible (Edit > properties). Then, select the linked button or the text in your document. Below in the groupbox to target "_blank" pick properties

    I hope this helps.

    brand

  • in dreamweaver cc2015, how can we create a structure of Web page so that it can form a model?

    Hello

    In older versions of dreamweaver, I used tables, frames, layers (can not find layers and framesets in newer versions) to help form a Web page structure that can become a model.  I don't know if the tables are stable and reliable to form a model.

    What are the ways to form a structure of Web page to fill and text, a navigation bar in designated areas which can become a model?  Thank you

    Go to file-> new-> Starter models as in

Maybe you are looking for

  • Purchase duplicate on iTunes

    I rented the 'Specter' June 6 but my receipt indicates that I rented it twice in the same day. I had to download the film three times before the download was successful. Help please, thank you. ORDER NUMBER: MSFB307FKN Order: June 6, 2016 Document #:

  • Network.protocol - handler.external.magnet type = boolean value = true

    Associate files of the magnet with firefox and qbittorrent With firefox 3.x the following entries about: config works great.Network.protocol - handler.app.magnet type is string value is/usr/bin/qbittorrentNetwork.protocol - handler.external.magnet ty

  • Time machine freezes when going back in time on a particular week

    I run ERD without problem, reset the permissions etc. At the time of this particular date / week, I discovered a set of 4000 pdf small files lacked especially after that I moved the folder that they were in the Office to a subfolder.    Permissions a

  • Satellite L850D - 126 USB 3 driver needed

    Hey there, I got this Satellite L850D-126 to solve this problem, He installled a new HARD drive and I was wondering why the system is not starting more. I installed a brand new system, Windows 7 Home Premium 64-bit, and now I am trying to install nec

  • Windows XP license for home computers

    If an individual has Windows XP on a computer at home, and they get a second computer for use in their home, can I use the Windows XP license from their original computer to install XP on their second computer? Or should they buy a second copy of Win