How can I create secondary and tertiary dropdown menus whose choices are dependant on the parent?

Kind of a weird question; I know. I'm new to both the Adobe Developer forums, and to XMP in general.
Here's the basic gist of what I'm trying to do:
We've got a Group, Category, and Subcategory structure for a given variable. Obviously, the subcategories are unique to a particular category, just as the categories are unique to a particular group; so displayed as a tree:
I.     Group_1
          1. Category_1A
                    a. Subcategory_1Ax
                    b. Subcategory_1Ay
                    c. Subcategory_1Az
          2. Category_1B
                    a. Subcategory_1Bx
                    b. Subcategory_1By
                    c. Subcategory_1Bz
          3. Category_1C
                    a. Subcategory_1Cx
                    b. Subcategory_1Cy
                    c. Subcategory_1Cz
II.     Group_2
          1. Category_2A
                    a. Subcategory_2Ax
                    b. Subcategory_2Ay
                    c. Subcategory_2Az
          2. Category_2B
                    a. Subcategory_2Bx
                    b. Subcategory_2By
                    c. Subcategory_2Bz
          3. Category_2C
                    a. Subcategory_2Cx
                    b. Subcategory_2Cy
                    c. Subcategory_2Cz
The subcategories are unique to their categories; just as the categories are unique to their groups. In an effort to prevent garbage coming into the metadata, and because these groups, categories, and subcategories have already been defined, I'd like them displayed as dropdown menus; Once the user has selected a group for the file, the Category dropdown would appear (or become active) and display the Category choices available only to that group, and then do the same in terms of the Subcategory.
I'm guessing that I'll start with a closed choice, assign the values to the groups, and then write a function to display only the choices for that group in the category dropdown. Trouble is, I don't have a whole lot of JavaScript experience -- and the word I've seen tossed around in this area seems to be an Array -- so I'm wondering if I'm barking up the wrong tree. If anyone has some kind of direction to point me in, it'd be helpful.
I'm not looking for someone to do my work for me (that's missing the point) -- this is an exercise in learning XML, Some scripting, Flash Builder, and Javascript, and I'd really like to develop it entirely myself; because I am having fun!!
Many thanks,
.themumm

Do you mean the stuff from here:
http://projects.nateweiss.com/nwdc/workcode.htm
If so, to be honest, don't ("use it", I mean).
It might have been a reasonable approach to this sort of thing ten years ago, but it's not a very good way of doing this sort of thing these days.
This sort of thing is pretty easy to knock together with some HTML, JQuery to do some JS stuff and a CFC behind the scenes.
Indeed just using some binds to <cfselect> tags would be a better approach.
Adam

Similar Messages

  • I have a windows computer. How can I create apps and put them on itunes?

    I have a windows computer. How can I create apps and put them on itunes?

    You can't. The iOS SDK requires Mac OS X and an Intel Mac; Windows applications can't be put on either the iOS or Mac OS X App Stores.
    (82889)

  • How can i create PR and if there is some change in the PR due to wrong calc

    Dear all,
    I wanted to know how can i create PR, and is that simple? Ok, while creating PR, when i will come to know that stock entered here is less that the actual stock that was mentioned, but due to some error, how can i change it, how is that possible?

    1981,
    You have posted this question in the wrong forum.  Such topics are covered in the MM forum
    SAP ERP - Logistics Materials Management (SAP MM)
    You can easily create a new PR in ECC using transaction ME51N
    You can easily change an existing PR in ECC using transaction ME52N.
    Best Regards,
    DB49

  • How can i create Header and items in SMART FORM

    Hi Experts,
    How can i create Header and items in SMART FORM in the below driver program.
    _Header fields_
    SELECT BUKRS BUDAT GJAHR CPUDT USNAM BLART BELNR XBLNR BLDAT WAERS KURSF
      FROM BKPF INTO CORRESPONDING FIELDS OF TABLE IT_HEAD WHERE BELNR IN S_BELNR AND BUDAT IN S_BUDAT AND GJAHR EQ S_GJAHR AND BUKRS EQ S_BUKRS AND CPUDT IN S_CPUDT AND USNAM IN S_USNAM.
    Item firlds
    SELECT BUZEI BSCHL SGTXT SHKZG KOSTL PRCTR WERKS WRBTR HKONT KUNNR ZFBDT FROM BSEG INTO CORRESPONDING FIELDS OF TABLE IT_ITEM
      FOR ALL ENTRIES IN  IT_HEAD WHERE BELNR = IT_HEAD-BELNR AND GJAHR = IT_HEAD-GJAHR AND BUKRS = IT_HEAD-BUKRS.
      LOOP AT IT_HEAD.
    MOVE-CORRESPONDING IT_HEAD TO FINAL.
        LOOP AT IT_ITEM
        WHERE BELNR = IT_HEAD-BELNR.
          MOVE-CORRESPONDING IT_ITEM TO FINAL.
    ENDLOOP.
    ENDLOOP.
    Regards,
    Sreedhar.

    for these internal tables you can pass some Identifier  for both tables.
    in header file : IT_HEAD
    IDENT   type  char10,
    BUKRS type BUKRS,
    BUDAT type BUDAT,  like
    in header file :IT_ITEM
    IDENT   type  char10,
    BUZEI type BUZEI,
    BSCHL type BSCHL,  like  in item data
    you need to fille the  IDENT value like
    IT_HEAD:
    10 -- DE01-- 10.20.2009
    20 -- CH01-- 10.20.2009
    IT_ITEM
    10 -- 1234-- KSCHL value  like all records
    10 -- 2345-- KSCHL value  like all records
    10 -- 6783-- KSCHL value  like all records
    20 -- 3452-- 1KSCHL value  like all records
    20 -- 4532-- KSCHL value  like all records
    20 -- 4535-- KSCHL value  like all records
    in smartform you need to create 2 tables.
    or create
    LOOP  with IT_HEAD
    table with IT_HEAD
    table with IT_ITEM
    and put the condition for each table in  DATA tab where condtion  like IDENT = IT_HEAD-IDENT
    in item table also INDENT = IT_ITEM-INDENT..

  • How can I creat a 802.1x Profile without Lion Server? I miss the plus-button in Lion to creat a 802.1x Profile.

    How can I creat a 802.1x Profile without Lion Server? I miss the plus-button in the Network Configuration (OS X Lion) to creat a 802.1x Profile.

    Tried this?
    http://blog.affien.com/archives/2011/03/16/802-1x-configuration-profile-on-lion- mac-os-x-10-7/

  • How can I create public AND private access with a wireless VPN router?

    I am thinking about getting one of the new pre-n wireless routers that has a builtin VPN.  I will need to have a private net for my office and a public net for my customers.  On the private side- my employees will need to access all network resources and servers etc.  On the public side, my customers just need to get to the Internet and maybe print on that side too.
    Both sides will be DHCP.
    Can I set this up with 1 device ro do I need 2?  How can I do this?  Any help is greatlu appreciated.
    Thanks all.
    Message Edited by Gman on 10-14-200607:08 PM

    The only safe way to do this is to creat user groups On your server and give specific assess to the users who log into the network.
    Using a single router , bifurcating a public from a private network is not possible.You will not be able to use the VPN since the users hav e to be connected to the VPN to log into your network.

  • How can i create inputschedule and Reoprt in single work sheet???

    Hi experts,
    Can you please tell me how do i create input schedule and report in one single work sheet???
    Also please share How to guide of the same if you know.
    Regards,
    Charly

    Hi charly, your question is quite interesting, obviously using workbook options you can either set your workbook to an Input Schedule or Report.
    If you need to submit data, then obviously the workbook option has to be Input Schedule.
    assuming you are using EVDRE's which are updateable as long as the Current View permits and Input Schedule flag is set:
    If you define 'report' loosely as an area of the excel workSHEET which is read only, then you can lock the cells of the report area and use excels protect worksheet function.
    If you are using EV formulae to return data (such as evget, evsnd) then you can use the EVGET function to ensure data is only flowing one way.
    Hope this helps,
    Hiren

  • How can I create a mail folder where my gmail folders are

    Hi all, I have Mail with my Gmail account. My 'labels' have appeared as folders in my Mail. That's all great and I've learned how to use them effectively so that they all sync when going back to gmail.
    However I cannot create a new 'folder/label' where all the others are. I can only create a new folder as a subfolder and then move it.
    Is there a way to create another 'folder/label' where the existing ones are.
    See this screenshot, so I'd like to create a folder where 'Adobe' and 'Airmiles' folders are and not as a sub folder of 'Adobe/Airmiles' or of [Google Mail].
    Can I do that? I am able to create the folder as a sub folder and then drag and drop where I want it but ideally want to avoid this step.
    Thanks in advance
    Hayley

    Not in Mail. If you referring to not having to use the menu, you can click the + sign at the bottom to create new mailboxes. But you still have to fill in the window with location and name. You can right click to create a new mailbox on an existing one, but not in the main account itself and you still have to fill in the info. It would create a sub folder.
    You can also try it at the gmail website. There might be shortcuts there.

  • How can I get Firefox to fill my screen? There are gaps in the top and bottom of my screen, thanks.

    I dropped my laptop recently and messed up the hard drive so after installing new hard drive I reloaded win 7 and Mozilla Firefox. When Firefox loads up there is a 1" plus gap on the top and a half inch gap at the bottom of all pages. How can I get the browser to fill the screen? Thanks.

    This website is using autocomplete=off to prevent Firefox from saving and filling the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save names and passwords and other form data.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • How can I create a DVD (not CD) slide show with PSE8. Is the only option CD?

    Do I need to upgrade to PSE9 for the DVD option for slide show output?

    No, you can't create a video dvd with just PSE, and PSE 9 is no different from any other version where this is concerned. (Adobe wants you to use Premiere Elements.) However, if you have a DVD burner, you must have gotten some kind of software with it that can make a DVD for you. Create your slideshow, output as WMV and then use your other software to burn the actual video disc.

  • How can I create a new slide that starts where a complex animation on the previous slide ends?

    I am creating a series of animations to illustrate a complex set of ideas, and I want to do it as a series of animations, to keep each slide from getting too complex. I would like to do this a stages, by creating a new slide that is a copy of where the previous slide ended.  I'm hoping that some of you have done more with Keynote animations than I, and that you'll be able to give me a few suggestions.  Thanks!!

    Thanks, Gary.  I should have mentioned that the previous slide moved and scaled several groups of objects.  So, at the end of the slide's activity the groups of objects were in different positions and were of different sizes than they are when I return to the slide.  So if I copy the opbject sn paste them onto the next slide, I still need to get them to the right place, and scale them.  That's tricky, especially since text objects don't scale like graphic objects.  Thanks for trying tohelp, though.  I apprecaite your effort!

  • How can I restore my playlist folders in itunes? They are there but the individual song titles aren't listed. They are only listed by album. This makes it very difficult to find songs in my playlist.  Also,when I click on music, it will not list options.

    My itunes account is messed up. How can I restore my playlist folders in itunes? The list's are there but the individual song titles aren't. They are only listed by album. I can only see the song titles as they are played at the top of my itunes. This makes it very difficult to find songs in my playlist.  Also when in the itunes store, I am not able to see music genre choices, or search for a song or group.
    Thank you

    Hi dones49,
    It sounds like your issue here is that iTunes can not find the files for some of the songs you have brought into it. This happens occasionally even if the songs have not been moved from the location that iTunes places them on import or purchase. When you try to use the song, iTunes prompts you to find the file, as you have seen.
    To find the file, use the information in this article to navigate through the iTunes media folders -
    Locate and organize your iTunes files
    If you are still unable to locate the files, you may need to download them from the iTunes store again, or rip them from your CDs. See this article for assistance with downloading your past purchases -
    Download past purchases
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How can I create prefilled and editable PDF's on a Linux server with PHP?

    I can create PDF's with editable form fields (extended features?) and serve those to our users and I can pre-fill form fields with data from the database using FDF, but then the PDF throws an error and the end user can't fill out the remaining fields (in Reader, it still works in Pro).
    I've tried 2 open source approaches already, but the end result is either a fillable form or a pre-filled form. I can't seem to do both at the same time.
    I've looked around adobe.com and frankly there's just so much stuff there that isn't even applicable it's staggering. I am completely lost and resorting to asking a question on a forum. I've searched these forms (and others), but anything related to this problem have no answers. I'm sure there's a way to do it.
    If I try to set the PDF to fetch the FDF using a http post/submit (can I get it to do that when it loads?) I would still have to get an id number into the query string or object on a per document basis (some how?) and that means editing the PDF server side which breaks the structure which then throws the error on the client side and I'm right back at the beginning again.
    At this point, it looks like it's going to take less time to simply create the form in HTML with a unique CSS file for the print version using a PNG for visual elements instead of a PDF. Not a great way to go for printing, but it would only take a day to set up. The time to create new forms is the issue. I don't want to spend 8 hours creating new HTML forms when I can do a PDF in 2 hours. Is it more efficient to go with an Adobe solution or roll my own HTML version?
    All I want to do is help the users save some time by pre-filing part of the form so they can print it.
    Any advice?

    Ok, I hope someone can move this to the Adobe Reader for Android forum, where you will find the experts you need.

  • How can i create forward and back buttons for a dreamweaver slideshow?

    Hi
    I am an illustrator attempting to create a website in dreamweaver (basically it will be an online portfolio). I would like to have a box/slideshow with images of my work that someone can browse through by clicking 'next' and 'back' buttons. Does anyone know how to do this? I have been trying to find out how to do this for ages - i dont want to use flash if possible as i am worried about making the site too complicated. I know how to make swap image thumbnails, but i think my site would be more user friendly (and look more professional) if i could have next and back buttons. Would this involve complicated css code (which scares the life out of me!) or is there a relatively easy way to do it? I have got two 'dreamweaver for idiots' books, but neither of them cover this topic. Can anyone help?

    If you are using CS4, there is a Command to create a Web Album... this does it automatically for you.
    Otherwise, you can create this manually.  Say you have 3 pages,
    page1.html  (is the index page of the album)
    page2.html
    page3.html
    Therefore, using ordinary text links
    Home would link to page1.html
    Previous would link to page3.html
    Next would link to page2.html
    You would need to make adjustments naturally to each page as you move along with the gallery pages, changing the previous and the next links as needed.  Below is a a basic example of setting up the links in a simple table structure.  You would also then style the table layout as you see fit - yes, using css preferably  :-)
    <table>
    <tr>
    <td><h2>MY GALLERY OF PHOTOS</h2>
    <a href="page3.html">Previous</a> | <a href="index.html">Home</a> | <a href="page2.html">Next</a>
    </td>
    </tr>
    <tr>
    <td>
    <br>
    <a href="../images/img_2401_jpg.jpg"><img src="../images/img_2401_jpg.jpg" border=0></a><br>
    </td>
    </tr>
    </table>
    Here's an article on creating an album using the DW Command I mentioned earlier. You could create the album and then copy and paste the code into a current page if you've already designed on.,... not too difficult, I just tested it.  You do however, need to have Fireworks to process the images.
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda91 10b1f693f21-7ad1.html
    You could also check out the Lightbox effect which is very popular:
    http://www.lokeshdhakar.com/projects/lightbox2/
    Or do a google search for 'jquery'.  There are different album effects using that framework as well.
    Hope some of this helps  :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • If I'm not prompted to save a password, how can I create an exception URL? Library card numbers are confidential by law and are being displayed on our machines

    The autofill/password function is allowing library card account nuumbers to display for every previous user on our library computers and probably other computers on campus. Since the box asking "do you want to save" does not appear, we aren't able to check the "Never" box and add the library catalog URL to the Exception list in the Security tool which was the solution recommended in 2011.
    Although we recommend our users change their PIN from the default, the majority of them do not so their library records are publicly available, which is a violation of the Patron Confidentiality Act in our states and probably the other 49 states.
    We would like to retain Mozilla as a browser option on our library computers, but if there is no way to fix this, we will have our ITS department block it on the College network.

    You can lock the browser.formfill.enable pref and possibly the signon.rememberSignons pref as well to false to disable remembering form data and log in names and passwords.
    <pre><nowiki>//
    lockPref("browser.formfill.enable", false);
    lockPref("signon.rememberSignons", false);</nowiki></pre>
    You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    See:
    *http://kb.mozillazine.org/Locking_preferences
    These functions can be used in the mozilla.cfg file:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes

Maybe you are looking for

  • How to change the "n/a" message when stock level unavailable

    When and if a product is not inventory controlled or the in stock quantity is unknown, the "In Stock" tag on the product page will read "n/a". How do I change the "n/a" message? Customer think that stock is unavailable but I want to replace the "n/a"

  • How to give user a table level access in database ?

    Hi All, I am working on SQL server managemnt 2012. I need to provide access to one of the table in database. How can we do it ? Thanks in advance. Regards msbilearning.

  • Kensington Expert Mouse Pro (64213) with FCP 5

    I was looking into buying the Kensington Expert Mouse Pro to use with Final Cut Pro 5. Does anyone know if you are able to program the 6 buttons on the top of the mouse as hotkeys for different tools within FCP? Thanks for your help! -Curtis Power Ma

  • StackOverflowError caused by conversion program

    Hello all, I'm a bit new to Java, so please bear with me if the answer to my problem is an obvious one. I am trying to write a program to convert numbers (floating and negative, too) from the given base to base 10. As this is part of a larger project

  • No RFC destination is maintained for the port 'SAPERP'

    Hi! I am facing with a very strange thing. I am implementing a File_to_IDOC scenario. Therefore I created in XI system the appropriate Ports in tcode IDX1. I use one business system with two clients (SAPERB100 and SAPERB200). I defined there of cours