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!

CommentFileSizeAuthor
#3 primary_term-727190-3.patch2.03 KBrmjiv

Comments

locomo’s picture

bump - any thoughts on this?

sethcohn’s picture

Good 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?

rmjiv’s picture

Status: Active » Needs review
StatusFileSize
new2.03 KB

I did something similar. This patch adds an option on the node_type form to make the primary term field required.

brianV’s picture

Status: Needs review » Fixed

rmjiv's solution seemed to be more flexible.

Tested and committed:

http://drupal.org/cvs?commit=435622

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.