Drop Down Menu Selection - Make Other Drop Down Menus Visible

I am having some trouble with a simple if-else statement. When a certain selection is made in a drop down box, I would like two other drop down menus to appear. (At runtime, 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 this one option. (If I try to select anything else, it reverts back to the same thing every time.) If I set the "if" statement to trigger for something else, then that option is all it will display and so on. I have made plenty of these types of scripts in other areas of this PDF, but I can't figure out why it isn't doing what I want it to now.
The "change" event is what I currently have this set to. I have also set it for the "enter" event with no change.
if (this.rawValue = "Ankle/Brachial Index (ABI) - 93922")
ABI.presence = "visible"
TBI.presence = "visible"
else
ABI.presence = "hidden"
TBI.presence = "hidden"
If there's a better way to do this than the method  I am attempting to use, please don't hesitate to suggest it. I am definitely open to learning new methods.

Thanks, man! I knew it was something simple I was missing. Those are my favorite kind of fixes.

Similar Messages

  • How do I make a drop down menu selection show up in another web page?

    What I am trying to accomplish is this.  I have a page with various drop down menu selections that I want to transfer the selection to a secured web page. What happens now is once the selection is made it goes to the secure page but then the user has to again select the choice again.  Is there way to keep the selection chosen in the linked page?

    You can set the "selected" value in the second page based on the input from the first page.
    Ignor the language referance used below for the example and simple use the concept with your desired language.
    Second Page form:
    <form id="form1" name="form1" method="post" action="">
      <select name="testing" id="testing">
        <option value="Value 1" <% if ( Passed values == Value 1 ) { %>selected="selected"<% } %>>Lable 1</option>
        <option value="Value 2" <% if ( Passed values == Value 2 ) { %>selected="selected"<% } %>>Lable 2</option>
      </select>

  • Drop Down Menu selection query for recordset.

    I am looking to utilize a dynamic drop down menu to query a recordset...I am using Colfusion to import an MS Access database that contains the following fields: "Model Date", "Name", "Points" and "Target".  Each time the database updates, the "Model Date" field contains the date and time the model was run.  I have figured out how to create a dynamic drop down using SELECT DISTINCT "model date" and have also figured out how to create the dynamic recordset to be displayed showing the "Name", "Points" and "Target" data. 
    I want the user to select the "Model Date" from the drop down, hit a submit button and then have the appropriate "Name", "Points" and "Target" data queried and shown below.
    The query should take the selection from the "model date" dropdown and then query the "name", "points" and "target" fields for that particular "model date"
    I admit my knowledge of SQL and Coldfusion is not the best, but it seems like this is a somewhat simple task and I am just missing one or two pieces of the cog to put it all together.
    The database basically looks like this:
    Model Date...........Name..........Points........Target
    8/1/2010 08:00......John Doe.....1,250.........5.55%
    8/1/2010 08:00......Jane Doe.....850............2.35%
    8/1/2010 08:00......Bill Smith....11,832........-123.23%
    8/2/2010 09:02......John Doe.....1,323.........6.67%
    8/2/2010 09:02......Jane Doe.....1,001.........3.21%
    8/2/2010 09:02......Bill Smith....10,235........-110.26%
    The dropdown will only show the "model dates"
    8/1/2010 08:00
    8/2/2010 09:02
    For example, if 8/1/2010 08:00 was selected from the dropdown, I want the following displayed:
    Name..................Points...................Target
    John Doe.............1,250....................5.55%
    Jane Doe.............850.......................2.35%
    Bill Smith............11,832...................-123.23%
    Any help or suggestions would be greatly appreciated!!!
    Thanks,
    Mike

    My second paragraph talks about just displaying the filtered data, so I'm assuming that's what you're looking for, but still not quite sure based on what the other responses are. 
    But I head on anyway -
    On your first page, make note of the instance name of your drop down menu, such as "ModelDate".  Make sure it's in a Form and set the form action to the page where you want to display your data, set the form action to POST.
    On the results page, create a table with cells for each of the data elements you want to display. Create a recordset which you can do in Simple mode. Leave it at select all, and set the filter drop down to the database field which contains your Model Date. In the box to the right, select "=". the next dropdown selct "Form Variable" and the variable name type in the instance name of the drop down on the first page. 
    I may not have the terminology right, doing it from memory.
    From the data bindings tab, expand your recordset and locate each of the database fields you want to display.  Drag each one to the table cell on the page where you want it displayed.  The table cells have to be in a linear row.
    Now, select the table row buy selecting the TR tag in the tags just above the properties panel.  In the server behaviors tab, select repeat region and "All Records"
    Publish your pages and test!

  • Triggering a database query and region update from drop-down menu selection

    I suspect this must be covered somewhere in some how-to or documentation but Google hasn't been of much help here:
    A user is filling in a form. The first entry in the form is a drop-down menu. Upon the user selecting a value in the menu I would like to query existing entries in the DB and present results to the user, in a region to the right hand-side of the form, as guidance (i.e.: "here's what we already have for this component").
    I am unclear as to whether I should be using computations, javascript or a combination of both here. Pointers welcome. Thanks in advance.

    Hello,
    Take a look at this example, it does what you want.
    http://apex.oracle.com/pls/otn/f?p=11933:48
    Regards,
    Carl
    blog : http://carlback.blogspot.com//
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Drop down menu selections

    i have extracted columns from a database into a drop down menu however i need to name each option so that the right information can be extracted onto another page. the <%=rs.getString("OU")%> defines the difference however how cud i recognise each selection on that page?
    <%
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection("jdbc:odbc:fa1lnk4");
    int i=1;
    %>
    <select name = "things">
    <%
    while(rs.next())
    {%>
    <option value = "pc">
    <%=rs.getString("PC")%><%=rs.getString("PCN")%>
    <%=rs.getString("OU")%></option>
    <%
    i=i+2;
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    %>

    I did not understand that. Which page? Yours? Their? Have you made up your mind what the HTML should look like, a static example, perhaps. Then it will be easy to construct the same HTML dynamically from the JSP.
    Also, it is said ten times a day here, but I will repeat it: do not mix DB-related and presentation-related code, i.e. have a separate class do the DB-related things and the JSP call this class.

  • Font Selection - Drop Down Menu Selection

    Hello All,
    I have a general question about the FONT selection in the menu bar in iBA that has been puzzling me.
    Sometimes when I select a font within a text box and move over to the Drop Down menu within iBA the default view is the top six most recently used fonts.
    At other times the font selection moves down the long list of fonts alphabetically — say to Helvetica.
    I have being playing around with the key combination keys to see if holding command key or a combination will change this.
    By holding down the ALT / Option key turns the FONT PREVIEW view OFF so the menu is more compressed and maybe faster to load.
    Any thoughts on this would be great. I would really like to be able to jump to my top six recently used fonts by holding down a hot key rather than at random times as it seems to me right now.
    Any view?
    Regards,
    Nigel
    TOP SIX MOST RECENT FONTS
    ALL THEY WAY DOWN THE LIST

    I downloaded it again and reinstalled it, restarted my pc, restarted illustrator, and it still didn't work - but, with my type selected, I went to Type -> Find Font and from there I managed to change it into aurulent_sans_mono ok. but even after that I still can't select it in the other ways. It's probably just a bug but at least I've found a way round it.
    thanks for trying it out

  • Updating drop down menu depending on another drop down menu

    Hi!
    I'm making this questionnaire, and it has 10 questions (q01 to q10).
    Each question has 4 sub-questions with an associated drop-down menu (q01L1 to q01L4, q02L1 to q02L4, etc.).
    The values available to select from the drop-down menu are: 1, 2, 3, and 4.
    For each sub-question, the user has to select a value (1, 2, 3, or 4), and that value can only be selected once for each question as a whole.
    I suppose that JavaScript will be able to remove, update, or rebuild the other drop-down menus according to the answer given to each sub-question. How can it be achieved? I have no idea how to make that happen. Could you help?
    Thanks.
    For example :
    This is what the user actually see BEFORE filling the question :
    Question 1 : When disagreeing on points of view, I get influenced by
    [Drop-down menu 1] : The tone/volume of voice of the person with whom I speak.
    [Drop-down menu 2] : My capability or incapability to understand the point of view of the person with whom I speak.
    [Drop-down menu 3] : The logic and the rationale on which the person with whom I speak bases his/her opinion.
    [Drop-down menu 4] : Whether or not the person with whom I speak is sensible to what I may feel.
    The following is for you to visualise the way I named the fields in the PDF questionnaire :
    q01 : When disagreeing on points of view, I get influenced by
    q01L1 {1,2,3,4} : The tone/volume of voice of the person with whom I speak.
    q01L2 {1,2,3,4} : My capability or incapability to understand the point of view of the person with whom I speak.
    q01L3 {1,2,3,4} : The logic and the rationale on which the person with whom I speak bases his/her opinion.
    q01L3 {1,2,3,4} : Whether or not the person with whom I speak is sensible to what I may feel.
    q01 = the name I gave to the question 1
    L1 = the name I gave to the sub-question 1
    q01L1 = the name I gave to the drop-drop menu of the sub-question 1 of the question 1
    {1,2,3,4} = the answers the user can select from the menu.
    The user can answer :
    4 : The tone/volume of voice of the person with whom I speak.
    2 : My capability or incapability to understand the point of view of the person with whom I speak.
    1 : The logic and the rationale on which the person with whom I speak bases his/her opinion.
    3 : Whether or not the person with whom I speak is sensible to what I may feel
    But cannot answer :
    4 : The tone/volume of voice of the person with whom I speak.
    2 : My capability or incapability to understand the point of view of the person with whom I speak.
    1 : The logic and the rationale on which the person with whom I speak bases his/her opinion.
    4 : Whether or not the person with whom I speak is sensible to what I may feel
    This is where the JavaScript comes into play. What can be done to remove, update, or rebuild the other drop-down menus according to the answer given to each sub-question?
    If the user answers 4 to q01L1, the 3 other drop-down menus should look like this
    4 : The tone/volume of voice of the person with whom I speak.
    q01L2 {1,2,3} : My capability or incapability to understand the point of view of the person with whom I speak.
    q01L3 {1,2,3} : The logic and the rationale on which the person with whom I speak bases his/her opinion.
    q01L3 {1,2,3} : Whether or not the person with whom I speak is sensible to what I may feel.
    And then, if the user answers 2 to q01L2, the 2 last drop-down menus should look like this
    4 : The tone/volume of voice of the person with whom I speak.
    2 : My capability or incapability to understand the point of view of the person with whom I speak.
    q01L3 {1,3} : The logic and the rationale on which the person with whom I speak bases his/her opinion.
    q01L3 {1,3} : Whether or not the person with whom I speak is sensible to what I may feel.
    And so on.
    Message was edited by: einsteinbqat

    I'm sure that question is an FAQ in whatever language you're asking about. But you should really find the forum for that language. This is the forum for Java programming and that ain't Java.

  • A drop down menu that well doesnt drop down help is needed. ty

    So my proof of concept is below. i followed this video tutorial http://www.tutvid.com/tutorials/flash/tutorials/dropDownMenu.php and i came across a problem.  the green bar is a menu that lights up and drops a menu down.  I created the buttons, then followed by a layer that is the drop down layer that includes an internal layer of a mask layer that drops down.  In that sub layer i put in on frame 1 stop(); and on frame 6 stop in a an action script layer.  then going back to the initial scene one i gave the drop down menu an instance name and then went into the button layer and gave it some action script below
    on(rollOver){
         contactMenu.play();
    I test the movie no errors just nothing seems to be triggering the menu to do anything, i mean it use to light up now nothing its a dead energizer bunny.  I'm up for any suggestion solutions ideas thoughts.  or plans to conquer the world.  have a pretty solid deadline tomorrow.  any help is appreciated!!!

    what's the following trace() show when you roll over the object to which it's attached:
    on(rollOver){
    trace(contactMenu);
    contactMenu.play();

  • How can I create a sub down menu specific for the first down down menu response

    I want to create a survey that has a drop down menu, for example first listing the state. Based on the answer the next drop down menu will only have the cities in that state selected to choose from

    Hi,
    You may want to use the skip logic rule (available to paid users), https://www.acrobat.com/formscentral/en/library/skip.html
    You will not be able to automatically change the second drop down choices , i.e., show/no show based on previous response, but with skip logic rule you could create multiple drop down fields so that each one of these drop down fields will only show based on the previous response.
    Hope this helps,
    Thanks,
    Lucia

  • Cannot print from file drop down menu, nor any other usual method in firefox 6.0 for win 7 home prem 64 bit

    when i try to print from your browser i click on file then choose print and nothing happens, nothing happens when i try it from file drop down and click on print preview, this is the case with Firefox 4 5 and 6! with win 7 home premium 64 bit
    it will not even let you print from the rt. click menu, that selection is not highlighted when you select a word a sentence a page or anything, and there is no print icon available in your customize the toolbar menu either, the only way I can print a page from your browser is to open internet explorer and dag the page from your browser to msie and have that browsers printer icon clicked on and it prints using m.s.i.e. 9 .
    in short there is no way to print from your browser, that I have located???????? help me

    when i try to print from your browser i click on file then choose print and nothing happens, nothing happens when i try it from file drop down and click on print preview, this is the case with Firefox 4 5 and 6! with win 7 home premium 64 bit
    it will not even let you print from the rt. click menu, that selection is not highlighted when you select a word a sentence a page or anything, and there is no print icon available in your customize the toolbar menu either, the only way I can print a page from your browser is to open internet explorer and dag the page from your browser to msie and have that browsers printer icon clicked on and it prints using m.s.i.e. 9 .
    in short there is no way to print from your browser, that I have located???????? help me

  • How do you use a drop down menu to populate other fields?

    I am creating a PDF that upon choosing from a list of People their address, phone, etc will automatically come in the remaining fields, or if a new person is choosen than you can add names address phone and it will save for future referrence ?
    Any help would be appreciated,
    THank you

    Thanks for your comment.
    Try doing this:
    Connect the form to a database and bind the fields in the form to the associated nodes in the data source so the data values automatically appear in the bound fields when a name is selected in the list.
    Add scripting to the list of names so the associated fields for address and phone number appear only when the user enters a new name and needs the other fields to enter new data.
    If that doesn't work, please provide more information about what you are trying to do. For example, here are a few questions to consider:
    Q. What object are you using for the list?
    Q. You say you want to be able to choose a person from a list of People, and their address, phone, etc automatically appears in the remaining fields address and phone number. What do you mean by etc. That is, exactly what objects are you planning to use for the other fields, and how many fields are there in total?
    Q. Is your form connected to a data base, which can supply the data values for the address and phone number fields.
    Q. What do you mean by 'a new person is chosen'. Normally the options on a list are pre-determined and added when you create the form. Do you want users to be able to add a new name to the list, and then enter that person's address and phone number in some adjacent fields?
    Have a look at these sections in the Help to gain a better understanding of what's involved:
     Working with Data Sources
    http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/000844.htmlhttp://livedocs.adobe.com/livecycle/8.2/acrobat_designer/000844.html 
    Buildling actions in forms
    http://help.adobe.com/en_US/livecycle/9.0/designerHelp/000109.html#1627696 
    Thanks,
    Drew

  • I am unable to see text in boxes on web pages after selecting from a drop down menu. eg country, however typed answers are visible

    In the box below which asks the question "This happened" I selected 'every time Firefox opened" and no text appeared in the text box. After selecting a few times on different answers they started to work except for answer three which I have selected now but the box appears clear, that is, no text is visible on my screen.

    I should also note something that I did that I think may be causing the default wiki and blog theme to not appear. In Server Admin, selecting Web, then going to Settings and on the Web Services tab, I changed the Data Store path to:
    /Library/WebServer/Documents
    I did this thinking it would create the html pages in the directory that the placeholder page was indicating that I should put my web page, but I think that is wrong, now. Does anyone know the default path for the data store?

  • Popupmenu and menu one makes other disappear?

    Hi,
    Ive got a class which creates a popup menu and exposes functions to show it.
    Ive just added this new function to enable the user to add the same menuitems to Menu
    public Menu getMenu(String Title)
    Menu options = new Menu(Title);
    options.add(open);
    options.addSeparator();
    options.add(back);
    options.add(forward);
    options.add(lastHistory);
    options.addSeparator();
    options.add(incFont);
    options.add(decFont);
    return options;
    however when I call this function my popup menu contains nothing but the 2 seperators! What is going on?
    PS the popup contains exactly the same elements as the normal Menu

    I'm having a very similar problem. I create a JPopupMenu (as a context, right click, menu) and JMenu on a JMenuBar with the exact same JMenuItems. I bring up the JMenu and the items are all there. I bring up my JPopupMenu and all items are there but when I go back to the JMenu on my JMenuBar all the items have been removed.
    This seems like a bug to me. Any ideas?

  • I'm using Mac with OS 10.9.4 and Photoshop CC. I am unable to access "Focus Area Selection". When I go to "Select" on menu its simply not there in the drop down menu. Any help?

    How do I access "Focus Area Selection" in Photoshop CC on a Mac? It's not showing in the "Select" drop-down menu.

    Select > Focus area is in Photoshop CC 2014, not Photoshop CC.  So you must download and install CC 2014 to have access to this new feature.

  • Multiple drop down menu items to populate the a separate text box...more help please

    Thanks to Gilad D67 for showing me how to have multiple drop down menu items appear in a separate text box. This stuff blows my mind. Is there any script I can use to make a new drop down menu item appear in the same text box, but on a new line below a previous entry. For example. I select 'cat' from my drop down menu and it appears in my text box. Now I choose 'dog' from my menu and it appears in my text box like so  'cat dog.' Is there any way I can make 'dog' go straight to a new line automatically without having to manually go into the text box and change it?
    cat
    dog (new selection goes straight to a new line)
    Now, I don't have a clue if this is also possible, but imagine, I don't like my drop down menu selection of 'dog' and I go back into the menu and I change to 'rat' but in the text box, 'dog' still appears and 'rat' is added. Do I have to manually delete 'dog' from the text box or is there script that can do this for me.
    Any assistance would be incredible. It amazes me how people know this stuff.
    This is the script I have so far
    (function () {
        // Do nothing if not committed
        if (event.willCommit) return;
        // Set up an array to hold the individual paragraphs of text
        var aQuotes = [3];
        // Populate the array with the paragraph text
        aQuotes[0] = "Use common singular nouns, plural nouns [plural ‘s’] and proper names to say what things are"
        aQuotes[1] = "Use numbers 1–10 to count"
        aQuotes[2] = "Use basic adjectives and colours to say what someone/something is or has"
        // Get the selected item, which is the export value of the selected combo box item
        var item = event.changeEx
        // Display the text corresponding to the selected item in the text field
        getField("Text30").value += " " + aQuotes[item];

    You have to set the option for the text field to be multiline and then change the last line of the script to:
    getField("Text30").value += "\r" + aQuotes[item];
    To reset the field you can use a separate button with a Clear Form command, and then you just select this one field from the list.

Maybe you are looking for

  • ListView performance issue

    Hello, I have a list with around 25 items. The appearance of an item is defined in FXML and I use cellFactory of that list to create those items. The item class looks as follows: public class MatchCell extends ListCell<MatchModel> {     @Override    

  • Using External Interface on local content

    We're using External Interface for interfacing between Flash and JavaScript on the HTML page. All works fine online. When we try to localize the pages though (so that a Salesperson can have a CD full of demos), none of them seem to work. Is this an o

  • Updating iPod After Software Update

    Howdy, Bit of a problem here. All of the software was updated last night and my iPod has been updated, yet it now says I need to plug it in to the standard electricity supply for it to update, but I don't have that plug. So, I can't use my iPod Anyth

  • Aperture 2.1 Sluggish Exposure Adjustment Sliders

    Description of Problem: 1. When the Straighten Brick is applied to an image being adjusted, the Exposure Brick sliders become erratic and do not track mouse movement or the Wacom Tablet Stylus tip. 2. This condition substantially worsens when the Hig

  • How to decrease timeout value when there is no response from BOE server?

    We are using BOE XI R2 .NET SDK to logon BOE XI R2 Server as below as well as using Infoview/CMC logon BOE: set boSessionManager = Server.CreateObject("CrystalEnterprise.SessionMgr") set boEnterpriseSession = boSessionManager.Logon(boUserID, boPasswo