It is useful to prepopulate the taxonomy field on a new node page.
I grabbed Mark Celsor's patch from the following comment:
http://drupal.org/node/54013#comment-192230

CommentFileSizeAuthor
taxonomy_patch.txt947 bytestara@neier.org

Comments

drumm’s picture

Version: 5.2 » 6.x-dev
Category: bug » task
Status: Needs review » Needs work

If there is already a value, any defaults should be ignored. This looks like it actually merges the current value and default. And I don't see any way to have multiple defaults selected for multi-selects or default tags.

In general, the GET parameters are not filled into forms. This could be considered an API change and should be put into Drupal 6.x before consideration for 5.x.

gábor hojtsy’s picture

Version: 6.x-dev » 7.x-dev

Generally, new features go to the latest version. Because 6.x is frozen, this might not get in there, but 7.x instead. Why do you name the variable default_id? What other prefill features are there, which justify adding this? Ie. is this an extension of an already present feature?

ashhishhh’s picture

It works
Thank you!

aren cambre’s picture

Issue tags: +Usability

subscribe

catch’s picture

Status: Needs work » Closed (won't fix)

This is obsolete due to field API.