By blue92877 on
I want to create a CCK option / select widget using taxonomy terms. However, I want the parent term bold and not selectable and just the children of each term selectable. Can someone explain how to do this? The technique is used a lot, even on drupal.org when submitting content.
Thanks,
Blue
Comments
Can you give a link to the
Can you give a link to the page on drupal.org where this is done?
create content -> issue
Hi, thanks for responding. If you click 'create content' -> 'issue' the 'projects' select field is a perfect example.
That select box is generated
That select box is generated in the function project_issue_pick_project_form() in issue.inc in the project_issue module (http://drupal.org/project/project_issue). It calls the project_projects_select_options() function in project.module (http://drupal.org/project/project) to get the list of options. Maybe you can learn from that code how to do it.
So it can not be done just
So it can not be done just for taxonomy select field ?