OptGroups?

mpaler - December 7, 2007 - 19:22
Project:CCK Taxonomy Fields
Version:5.x-1.2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Can someone explain to a newbie what the OptGroups option is all about? (It's visible when you are configuring a CCK Taxonomy field. I can't find documentation on that anywhere.

Thanks,
Mike

#1

jeff h - January 8, 2008 - 09:19

Check this out: http://www.w3schools.com/tags/tag_optgroup.asp

However, I still have no clue how this works in CCK Taxonomy Fields...

#2

SocialNicheGuru - June 14, 2008 - 15:00

i have been searching for a definition and use case myself

Chris

#3

janusman - March 25, 2009 - 23:46

A use case would be to forbid users to select, say, the first level of a hierarchic taxonomy... for example in "Fruit > Apples" and "Fruit > Oranges" they could select the type of fruit but not "Fruit" itself.

In fact I need to do this right now for a project =) Will get back to you when I do it =)

#4

blue92877 - June 6, 2009 - 14:55

I have been looking for weeks on how to implement 'optgroups' in a CCK select field. Did you do it? can you elaborate how you did it? where are the options?

Thanks,
blue

 
 

Drupal is a registered trademark of Dries Buytaert.