Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would you be interested in adding an autocompleted text field for taxonomy term selection?
You can enter term names, $form_state['values']['foo'] will contain the term ids. In #vocabulary you can add the machine name of the taxonomy vocabulary to use.
We have some code ready but not a real FAPI element yet. It's heavily based on how the Views 'has taxonomy terms' filter does it.
If you're interested to add this to the project then let me know and I'll provide a patch.
Comments
Comment #0.0
Cyberwolf CreditAttribution: Cyberwolf commentedcorrecting $form -> $form_state
Comment #1
Jose Reyero CreditAttribution: Jose Reyero commentedLooks like no one is working on this one, old issue, closing.