Hi,

Please let me know the solution of below problem,

In Drupal 7, multiple values does not shown for fields which are "Autocomplete term widget (tagging)"

When I set "Number of values" in field setting to any number greater than 1, in node creation page, I only can see one field for that; While "Number of Values", work well for text or text area fields

Comments

pingers’s picture

Category: bug » support
Priority: Critical » Normal

you can use multiple terms by comma separating each term.

roynilanjan’s picture

Yes that I have noticed.. but my assumption there should be some add-more feature .. is there any patch for that or where should I make a hack (in taxnomy module or in field api) to test ? then I can contribute as patch for this

Please let me know

pingers’s picture

Status: Active » Closed (fixed)

I don't think this would make it into core... it's a bit weird if you ask me.
A contrib module, implementing a custom widget to provide this feature would be fine. Go forth and code!
There should be no need to hack anything.

ChrisValentine’s picture

I don't think this would make it into core... it's a bit weird if you ask me.

In which case the option should be hidden as it suggests functionality that isn't available.

Pretty annoying really since I'd got tagging to work in Drupal 6. I upgrade to 7, switch to using Taxonomy (so at least I can see what tags have been used) but now find I can't add more than a single tag per node.

Drupal core: 7.17
CCK: 7.x-2.x-dev
Chaos tools: 7.x-1.2
Views: 7.x-3.5

Meanwhile I have just found a module that provides the functionality I was after - although its interface is slightly cludgy - Autocomplete Deluxe.

federiko_’s picture

Check this module.
http://drupal.org/project/issues/autocomplete_deluxe
It adds an autocomplete jquery widget which allows you to choose more than one term with a better ergonomy than the "commas separation".

pingers’s picture

@ChrisValentine The functionality works fine. If you specify 3 in the number of values, you can only associate up to 3 terms with the node for example. "Tags: this field cannot hold more than 3 values." is the message that shows. Hope this clears up how autocomplete fields work.

star-szr’s picture

Issue summary: View changes

If anyone for whatever reason has this use case still and comes across this: https://www.drupal.org/project/taxonomy_single_tag