I have a taxonomy that is required for a certain content type. When a new node is submitted a user must select a taxonomy term but if they don't select a primary term it defaults to the first one in the list.
Is it possible to require the primary term if the taxonomy is required? - this would put as the first option
great module - thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | primary_term-727190-3.patch | 2.03 KB | rmjiv |
Comments
Comment #1
locomo commentedbump - any thoughts on this?
Comment #2
sethcohn commentedGood suggestion.
Since you can select more than one vocabulary, does this mean that if _any_ of the vocabularies are required, make Primary also required? And what if I pick a term that is NOT part of the required vocabulary?
Anyone want to code this up?
Comment #3
rmjiv commentedI did something similar. This patch adds an option on the node_type form to make the primary term field required.
Comment #4
brianV commentedrmjiv's solution seemed to be more flexible.
Tested and committed:
http://drupal.org/cvs?commit=435622