I wonder if 'Content taxonomy tree' is supported by Form element defaults?

It's a tree with radio buttons and I couldn't get 'prepopulate' working with this widget.

Comments

alexbk66-’s picture

I compared three modules: Form element defaults, Prepopulate and URL Fill.
I found this module the best and easiest to use.
But still, couldn't get 'Content taxonomy tree' selected from url.
I think the problem is - because it's a tree with many radio buttons, but they all have the same name="field_hobby_tree[value]":

 <div id="field-hobby-tree-value"><ul class="treeview"><li class="expandable"><div class="hitArea"></div><div class="term-line"><div class="form-item" id="edit-field-hobby-tree-value-914-checkbox-wrapper"> 
 <label class="option"><input type="radio" name="field_hobby_tree[value]" id="edit-field-hobby-tree-value-914-checkbox" value="914"   class="form-radio" /> Art</label> 
</div> 
<div class="term-operations" style="display: none;"></div></div><ul class="treeview"><li class="expandable"><div class="hitArea"></div><div class="term-line"><div class="form-item" id="edit-field-hobby-tree-value-914-children-919-checkbox-wrapper"> 
 <label class="option"><input type="radio" name="field_hobby_tree[value]" id="edit-field-hobby-tree-value-914-children-919-checkbox" value="919"   class="form-radio" /> Dancing</label> 
</div> 
<div class="term-operations" style="display: none;"></div></div><ul class="treeview"><li><div class="term-line"><div class="form-item" id="edit-field-hobby-tree-value-914-children-919-children-1176-checkbox-wrapper"> 
 <label class="option"><input type="radio" name="field_hobby_tree[value]" id="edit-field-hobby-tree-value-914-children-919-children-1176-checkbox" value="1176"   class="form-radio" /> Ball room dancing</label> 
</div> 

So I tried, without success:

http://hobbyblob.com/node/add/blog?field_hobby_tree[value]=Art
http://hobbyblob.com/node/add/blog?field_hobby_tree[value]=914

Please help!