add description plus term while typing at TAXONOMY

nikitas - October 5, 2009 - 07:30
Project:Taxonomy List
Version:6.x-2.x-dev
Component:User Interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi.
could you please help me out here?i'm trying to create an autocomplete taxonomy term field using FORMS API and i want to know how can i add description with the term while typing or synonym term.
e.g I'm having product categories with unique ID for each product.
So while i'm typing i want to have 2 fields retrieved from the database and not just the term.
e.g if i start typing 10.0.
all the codes for 10.0 will come up in the autcomplete list plus the description e.g
10.0 (typing)
101 oranges
102 apples
103 bananas
etc etx
please chect the attchmnt for better understanding.
i suppose i have to 'edit' the query and add something like $data->term.' '.$data->description somewhere but where? :D

AttachmentSize
Untitled-1_25.jpg71.74 KB
 
 

Drupal is a registered trademark of Dries Buytaert.