Creating a new drop down menu when an option in an existing one is chosen

I’m using Coldfusion 9,0,0,251028 on Windows 7 64-bit, with a Microsoft Access 97 database. 
I’m having a problem with using a drop-down menu to create another one below it once a certain option is selected
(in this case, the option named “Breaking News”, which has an id of 31).
What event trigger should I use to create a drop-down menu underneath the first one when “Breaking News” is selected? 
Should I be using Javascript for something like this, or can Coldfusion handle it?
Here’s the code:
<cfquery name="get_info" datasource="#db#">
select * from lists
order by department asc, list asc
</cfquery>
<div align="left">
          <select name="list">
                 <option value="-1" selected> --------------------------------------  
                 <cfoutput query="get_info" group="department">
                        <cfoutput group="list">
             <cfif list neq "Breaking News Cell Phone">
                     <option value="#id#">#list#
             </cfif>
                        </cfoutput>
              <option value="-1"> --------------------------------------
                 </cfoutput>
          </select>
</div>

Depending on the details, I might use ColdFusion to create the content of the second drop down.
The second drop-down is supposed to be an expiration date that gets attached to the message so it can be self-removing.
The first drop-down is to specify a category for a message to be sent out on.
In this case, the only one that needs the secondary expiration drop-down is a single category (Breaking News),
so all other options on the drop-down would have to not trigger the expiration date drop-down showing.
In that situation, would you use ColdFusion to create the second drop down?

Similar Messages

  • Oracle apex creating mouse over drop down menu

    Hi ,
    I want to create a drop down menu for main tabs. Can any one explain or tell how to create this drop down and to use that in oracle apex 4.2 version.

    A much better option than using in-built tabs.
    1)
    You need to define a List, either static or dynamic, which will be your menu options - and it needs to be hierchical.
    Then you create a list region on the global page, using a stock template such as DHTML Tree
    2)
    Or you can use a CSS only menu, similar to the first option
    http://www.grassroots-oracle.com/2013/05/css-pull-down-menu-using-apex-list.html
    3)
    Or you can use a plug-in
    http://apex-plugin.com/oracle-apex-plugins/region-plugin/enkitec-navbar_317.html
    Scott
    ps - my, what a crazy username you have! is this the new forum default?

  • Is there a way to create a drop down menu with an automatic answer dependent on what is chosen?

    Is there a way to create a drop down menu with an automatic answer dependent on what is chosen? An if-then statement perhaps?  I am looking to add over 100 drop down options and would like to have a message automatically pop up depending one which option they chose.  Thank you.

    Hi,
    You would use the skip logic to conditionally show form items based on the selection within the drop-down menu. Here's a link to a description of the feature in our help documentation:
    http://help.adobe.com/en_US/formscentral/using/WSd789abd336388b1642c7fce012da94afe4f-8000. html#WS0faeceb8c23f5d60-774f03e3131ddc76d7d-8000
    Regards,
    Brian

  • Safari won't provide a drop down menu when I click on paper clip in outlook email. Any help on this would be great.

    I am using Microsoft Outlook for work email and Safari won't display a drop down menu when I click on the paper clip for attachments. The IT person at work says the browser isn't working or Safari isn't updated and I should try a different browser.   My other Comcast email is fine. I can attach anything.  Any help would be great.

    You could try enabling the Develop menu and try using IE but no guarantees. Not surprising that (Microsoft) Outlook isn't compatible with Apples' Safari.
    From your Safari menu bar click Safari > Prerferences then select the Advanced tab.
    Select:  Show Develop menu in menu bar
    Now from the Safari menu bar top of your screen click Develop > User Agent
    Try IE 7, 8, or 9.

  • How to hide top hits, bookmarks & history drop down menu when typing in safari search bar?

    how do I hide top hits, bookmarks & history drop down menu when typing in safari search bar?

    Not completely.
    In Safari > Preferences > Privacy > Check both Do not preload top hits in the background & Prevent earch engine from providing suggestions.
    This will eliminate top hits and search engine suggestions.
    I am not sure about the rest.
    As far as History, I guess you could clear it and use Private Browsing.
    Bookmarks, I don't think there is anything you can do about that besides removing them.

  • 'Weird' Terminology: rigs, snapshots and checkboxes/My odyssey, to create a simple drop-down menu ;)

    The Preface
    I'm a hobbyist! "Daddy does movies", enthusiastic about the -zillions of features, tools like FCPX and Motion5 offer! I'm no designer, no engineer, no 'pro'. My goals are sky-high, results more down-to-earth
    This is no request for help, just to share my … quest for a 'simple' effect. Or feature… Or box.-
    In hope, it helps YOU to solve your problems…
    The Issue
    Simple: I wanted to create my very own 'title' template for FCPX. Concept: a lil' animation, the two teams logos reveal a lower third, showing the actual score. Plus, an insert showing the scorer (=my kids love to see themselve in such 'sports graphics' )
    Usually, I 'manufacture' such graphics as single Motion-Projects. This time, my goal was a template, my kids slaughtered in the first season's game the other team by 11:1 (which is in soccer…  a goal-fest) To 'built' each Title manually as individual Projects would spend too much time. I needed a template! … so, step #1: using a Dropzone for opponents logo - easy. Animating - been there, done that, easy.-
    But that 'show players face&name' … 18 team-members… wouldn't it be nice to have some 'drop down menu'?
    How to accomplish that?
    The Manual, with all respect, is written for experts. Describing ALL options in one sentence. I need a cookbook, step-by-step-instruction … My preferred source of imagination, MacBreakStudio/rippletraining/Mark Spencer, hasn't done a tutorial for 'drop downs' yet.-
    My guts told me, it has something to do with 'rigs' …
    The Rig
    I dragged my folder with player-pics into my Motion5 project; there, I could check/uncheck each player. But I wanted these 'boxes' avail in FCPX, I wanted to 'publish' this check-list. Trying 'tis&'tat, I noticed, I can apply to the opacity of each player-pic a Rig. And a Checkbox-rig - hey, that close!!
    … soooo?
    No 'checkbox' in FCPX after publishing my title. No list after publishing to FCPX! What have I done wrong?
    The Snapshots
    I was confused by the meaning of  'snapshot'! … and since it made "ping!" in my head, it's so simple:
    As I would done it in a 'manufactured', single Motion project, I have to select each team-member, create a New Snapshot, set opacity to show only this player; create another New Snapshot, showing a diff. player. … and so on, and so on.
    … for sure, for convenience I renamed each Snapshot to each Player's name…
    In my amateurish mind, I had the imagination, Motion5 would offer me a 'behavior' (or 'filter' or whatever) to create checkboxes; or drop-downs; … uhm, well it does, but for me the work-flow is back-to-front: first creating a status-quo, then tell 'this is option#1/#2/#3' … I had the idea, you can select first an 'empty box', then drag its content into it. I've learned: professional don't tic this way.
    Eighteen Snapshots later …
    The Result
    After publishing my hand-crafted Title, it appears like that in FCPX:
    The Dropzone is to apply the actual contestants team-logo; the 'Title' is the score, just type the number; and - finally! - I had my drop-down-menu, listing all players,  for simple selection.- Me happy … !
    In movin' images:
    http://youtu.be/wIeu1cVMu94
    As mentioned before: the design isn't meant to win a price; and most probably, there are 'shorter ways to Rome' … so, if any of you 'pros' like to comment or recomment a 'better', in terms of 'easier' way, don't hesitate to teach me!
    K.

    Motion-guru Marc Spencer from rippletraining.com has an episode upon Rigging at MacBreak Studio
    MacBreak Studio - Episode 151: Setting up a Rig in Motion 5 for Final Cut Pro X    
    … I'm no expert (as you notice in my first post ), but I'm really overwhelmed by the endless options, esp. in correlation with FCPX… on first sight, 'rigging' looked like 'bundled color sliders' to me, but by creating your very own drop-down menus you can create extremely powerful tools, handcrafted for your very own needs.
    For sport-reports, with its tons of statistics and inserts, you can create a box of 'title genrators' - once done, multiple times used, and extreeeemly fast then.
    … And when a 'nnob' like me manages it, it is really no rocket-science…
    Kudos to the DevTeam at Cupertino!!!

  • My folders aren't showing up in my bookmark list or the drop down menu when I bookmark a site. Please advise!

    I just created a bunch of folders to organize my bookmarks. When I try to bookmark a page and put it in the appropriate folder, none of my folders appear in the drop-down menu. Thanks for any advice you can provide. ~cayugakate

    Turns out they were showing up, just all the way at the bottom of my list of bookmarks. I just couldn't see them. If you go to "Bookmarks"->"Organize Bookmarks" and then play around in there with highlighting on "Bookmarks Menu" you should be able to figure it out. Otherwise you just have to move them up to the top individually. Hope that helps! ~Kate

  • --urgent Can I use table data to create a dynamic drop down menu?

    Hi,
    I am asked to investigate the possibility of using APEX to create a table driven dynamic drop down menu? The deadline is tomorrow but I have spent quite a bit of time but still have not any clue. Can any one have such experience to point me a way to focus on?
    Many thanks.
    Jennifer

    Thanks you very much for the help Kevin.
    Currently my company is using htp.p style to create web app and using the dynamic menu in a similar way as you explained. Now they want to move to Apex and still keep dynamic menu functionality. After reading your response and research I have done I think I can embed it into Apex application by creating the similar table and PL/SQL package and let Apex to call the PL/SQL package when the application is first called. However may I ask you a question about how to call such pl/sql procedure in Apex? .
    The current application has the following URL, from which the procedure pkg_main.print_menu is called and html home page with dynamic menu is displayed.
    Http://app server:1234/pls/applicationname/pkg_main.print_menu?p_new_window=N
    BUT what about the Apex? The Apex URL format is like the following, where 11563 and 1 is application id and page number. Assume that 1 is home page, but HOW the procedure is called, from WHERE?
    http://apex.oracle.com/pls/apex/f?p=11563:1:3397731373043366363
    Jennifer

  • Dummy_domain in drop down menu when adding users

    Hi All,
    We just finished installing BPC NW 7.5 SP07. All seems to be fine on server side and client side. However when we try to add a new user, we can only see "dummy_domain" in the drop down menu for domains. We have configured BPC to use an actual domain and all BPC users exist on the domain level.
    Searching for SAP notes has not been very successful.
    Any advise?
    Regards,
    Masoud

    Hi,
    Thanks for your response.
    The option for "define system user group" is disabled regardless of which user account is used to login to the server manager (bpc_sysadmin, bpc_admin or SIDADM).
    Any advise?
    Cheers,
    Masoud

  • How can I create a rollover drop down menu from a link in Dreamweaver CS5?

    Hello all,  I am working on a portfolio website and I was just wanting to know if there is any way that I can create a drop down menu from a text link that cascades once the cursor has made contact with the link. I would like to have it in my navigation bar where the Portfolio link is. Basically, my navigation bar looks like this : Home | Resume | Portfolio | Contact. I only want three items on the drop down menu beneath the portfolio link: Traditional Art, Photography, Graphic Design. I would really appreciate any help I can get! Thanks!

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

  • Why can't we have "show cookies" menu be a button in the new drop down menu on FF29 ?

    I see the new Firefox 29 has a drop down menu in the upper right corner, with various shortcut symbols. One of them is "preferences", but I would like to make that to be have an even shorter shortcut to "show cookies", instead of having it buried in several clicks as in the old versions of FF.

    # Install Cookie Manager Button and restart Firefox if prompted.
    #* https://addons.mozilla.org/firefox/addon/cookie-manager-button/
    # Right-click (or Ctrl+click) an empty area of the tab bar and choose Customize.
    # Drag the Cookies button from the palette onto the menu panel on the right.

  • Utilizing Custom Tags to create a dynamic drop-down menu

    Hi to all,
    I am looking to create a dynamic .jsp to display to the user a drop-down list. This list is based upon data in database. The data will be passed as an application bean. This list will vary depending on application criteria.
    I would like to use a custom tag to create the drop-down menu. I am attempting to keep the .jsp page strictly .jsp, no Java. (I have been successful in creating & using an iterator tag.)
    Can someone point me in the right direction, or give me an example?
    thanks!
    Susie in Virginia Beach

    What exactly is it you don't know how to do? Write a custom tag or write database access code?

  • I have mac book pro with lion and constantly get a drop-down menu when clicking on a menu line

    I am new to Apple software.  I have a MacBook Pro using Lion.  Question is I constantly get drop-down menus when I click on an item to initate an action,  even as simple as clicking on the red x to close a page.  Why??

    Sounds like the right-click behavior is messed up.  Check the Mouse or Trackpad preferences and see what it has for right-click.
    Also, it could be that your contol key is stuck down or the keyboard is sending that command for some reason.

  • Missing Alias/account drop down menu when composing?

    This morning, when using MAIL, the drop-down menu to choose which alias to send an email from seems to be gone. My alias's are all still properly set up and the options is there when using webmail.
    I've tried the "customize" section when composing mail (which sets the fleilds shown like "to" "reply to" "BCC", etc) and it's not an option in there either.
    I haven't changed any account settings or prefs in Mail in months, and have tried swapping an older plist file in place in case that had something to do with it.
    Anyone else having a similar problem? Better yet, anyone have a fix?
    Thanks!
    Tom

    Hi. I've got quite the same problem with regular accounts. I've got an IMAP and a POP account and i'm stuck trying to send an email to google groups with my pop-account because mail automaticly uses my imap-account. the google groups of course denies my post since my imap-account is not allowed to post there. In Thunderbird (i just migrated from linux) it automaticly used the account in which the mail arrived to send from and showed a drop down menu just in case. but mail uses my imap account and i see no way to change that behavior (that option with "send from last used account" (i don't know how exactly it translates from german/don't know how it's called in english mail) is active.)
    hope to get some help soon.
    jan

  • My start up tone doesn't work, trackpad and keyboard do not work consistently. I get a drop down menu when I try to click on something

    Out of nowhere my keyboard locked, trackpad didn't work and start up chime stopped working.  Then, I got drop down menus when I tried to click on something, and now my computer is working fine.  In a while it will happen all over again.  How can the keyboard work fine and then stop?  Then be fine again.  I am not technically inclined, so please help.  I have a MacBook Air. Thanks

    To add a Pinterest icon to your Home Screen do the followiing:
    In Safari:
    Go to the Pinterest Website - http://pinterest.com
    Touch the Share icon at the top (looks like a box with an arrow coming out)
    Touch Add to Home Screen

Maybe you are looking for

  • Could not resolve to a component implementation

    I'm using Flex Builder 2 Version 2.0.143459 (Geez, couldn't you just make it 2.0.144?) and I am running Eclipse version 3.2.1 and I have Flex Charting 2 installed also. Now, I downloaded the example for "dashboard" that has the various graphs, and wh

  • Can we strore .CSV file into CLOB datatype

    hi can we strore .CSV file into CLOB datatype its giving me error ot hexa coonversion? can anyone provide sample code... when i m sending mail from oracle database when i send as blob object then nope but when i send attachment stored in table with c

  • RG 23 Interface (India Localization)

    Hi All, I need to import data to register entry. I found JA_IN_RG23_INTERFACE table. Is it possible to import data through this interface table. Which program i need to run to move data from JA_IN_RG23_INTERFACE table to base table. Also send me the

  • Selection Screen Validation for Character

    Hi All My query is regarding the selection screen validation for character. I am using a Select-option: S_ORDER FOR VBAK-VBELN OBLIGATORY. and S_order should be only having the numeric field. Please help how to validate it for character field.

  • Source system changes impact on BI system

    Hi All, I would like to know is there any work around if source system connected with BI changes. In our environment BWQy 100 is connecte with ECCQ1 100, now bais team needs to copy ECCQ1 100 to ECC2 Q100 and free ECCQ1 for some reason. And asking BW