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