[development] Multiple drop-down boxes for 1 category

Mohammed Sameer msameer at foolab.org
Thu Nov 2 12:38:09 UTC 2006

On Thu, Nov 02, 2006 at 01:32:25PM +0100, Ámon Tamás wrote:
> Hello,
> I have a vocabulary with multiple (or single) hierarchy. For example this:
> animals
> -cows
> -dogs
> -rats
> colors
> -red
> -purple
> -white
> etc.
> If I add a node with this vocabulary, I like two drop-down boxes:
> First with animals, colors, and when it is change, I like to change the
> second drop-down box with the firsts sub-categories with ajax. With
> which hook can I change it? Or there is a similar module?
> (This is similar this:
> http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-hierselect.php)

For me, I guess I'll use hook_form_alter() and the activeselect module.

GNU/Linux registered user #224950
Proud Egyptian GNU/Linux User Group <www.eglug.org> Member.
Life powered by Debian, Homepage: www.foolab.org
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.drupal.org/pipermail/development/attachments/20061102/18089674/attachment.pgp 

More information about the development mailing list