I've been having a really hard time with this. I want users to have to select a group of categories to add content. I have lists of continents, then countries, and eventually different cities/states in those countries. The problem I have is someone can now select Africa and then select something that makes no sense like Mexico. Is there a way to set these categories to be triggered off of the previous selection?

I added active select but I don't even know how to access it. Any help on what modules to start with would be great.

Thanks.

Comments

3goose’s picture

I will be doing the exact same thing soon. The uBrowser is what i'm most excited about implementing at this point:
http://www.ubercart.org/drupal_module_and_jquery_guides/ubrowser

I'm sure there are other solutions out there as well.

jdajos’s picture

The uBrowser looks like it will fit perfectly. I'm going to give it a shot as soon as I get some time.

jdajos’s picture

Here is one concern that I have...

Do you know if this can be used to classify content? I want users to have use the picklists to show what category their content fits in.

I wonder if uBorwser is just for searching already classified content.

I'll find out when I mess with it.

doka’s picture

There is a solution at palocz.hu using Form API and jQuery for building the options for the second select. The explanation is in Hungarian, but here you are the source code, as a module:

I tested it, and its perfect in Firefox, but something does not work in IE. I guess it is the Javascript. Any tips what to check?

Doka

Doka