2

I have created a cck node type and associated a tagging taxonomy vocabulary with it. When users create new content, I would like to be able to prepopulate the node form.

For example, if the node type were 'cars' and one term was 'antique', I want to be able to create new instances of cars with the tag 'antique' already populated in the editing form.

I have gotten as far as creating a path such as 'node/add/auto?tid=3' ... but how do I then take that tid and use it to prepopulate the vocabulary tags field in the auto_node_form?

2

Have a look at the Prepopulate module.

Read the documentation on how to use it.

  • Super, this worked great. I also found this issue which shows how to use it for various use cases: drupal.org/node/81756 – chipcleary Mar 13 '12 at 1:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.